Skip to content

Commit 571555a

Browse files
committed
Fixed isPromise
1 parent 479ee8b commit 571555a

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

dist/hprose.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/hprose.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/hprose.src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@
17781778
}
17791779

17801780
function isPromise(obj) {
1781-
return 'function' == typeof obj.then;
1781+
return 'function' === typeof obj.then;
17821782
}
17831783

17841784
function toPromise(obj) {

example/hprose.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Future.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}
5959

6060
function isPromise(obj) {
61-
return 'function' == typeof obj.then;
61+
return 'function' === typeof obj.then;
6262
}
6363

6464
function toPromise(obj) {

test/hprose.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)