On Chrome 48.0 in OSX, the following console warning started appearing with the release of es6-shim v0.34.3:
Uncaught (in promise) TypeError: object is not a function index.html:1
at Object.defer (native)
at chain (native)
at then (native)
The one-line change here fixes the warning. It seems that the warning was originating from the 'inner' promise p (the promise resolved by the 'outer' promise p2) on line 2562. The fix was to catch the rejection by promise p with a noop.
Fix for Issue #407.
On Chrome 48.0 in OSX, the following console warning started appearing with the release of es6-shim v0.34.3:
The one-line change here fixes the warning. It seems that the warning was originating from the 'inner' promise
p
(the promise resolved by the 'outer' promisep2
) on line 2562. The fix was to catch the rejection by promisep
with a noop.The warning is gone and all tests are passing.