Skip to content

Commit

Permalink
Remove check for .done() in isThenable. Refs #40
Browse files Browse the repository at this point in the history
  • Loading branch information
slightlyoff committed Mar 7, 2013
1 parent e419676 commit f2206b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions polyfill/src/Future.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ var isThenable = function(it) {
return (
!!it &&
(typeof it.then == "function") &&
(it.then.length == 2) &&
(typeof it.done == "function") &&
(it.done.length == 2)
(it.then.length == 2)
);
};

Expand Down

0 comments on commit f2206b5

Please sign in to comment.