Skip to content

Commit

Permalink
Fixed isPromise
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Nov 15, 2016
1 parent 479ee8b commit 571555a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/hprose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/hprose.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hprose.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,7 @@
}

function isPromise(obj) {
return 'function' == typeof obj.then;
return 'function' === typeof obj.then;
}

function toPromise(obj) {
Expand Down
2 changes: 1 addition & 1 deletion example/hprose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Future.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}

function isPromise(obj) {
return 'function' == typeof obj.then;
return 'function' === typeof obj.then;
}

function toPromise(obj) {
Expand Down
2 changes: 1 addition & 1 deletion test/hprose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 571555a

Please sign in to comment.