Skip to content

Commit

Permalink
Adding extra OR condition to loading the shims. This seems to fix a p…
Browse files Browse the repository at this point in the history
…roblem with the traceur runtime.
  • Loading branch information
MikeMcElroy committed Apr 26, 2014
1 parent f23463c commit 678c920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions es6-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,7 @@
typeof globals.Map.prototype.clear !== 'function' ||
new globals.Set().size !== 0 ||
new globals.Map().size !== 0 ||
typeof globals.Map.prototype.keys !== 'function' ||
typeof globals.Set.prototype.keys !== 'function' ||
typeof globals.Map.prototype.forEach !== 'function' ||
typeof globals.Set.prototype.forEach !== 'function' ||
Expand Down

0 comments on commit 678c920

Please sign in to comment.