jupiter / simple-mock

Super simple stubs and spies with 1-step sandbox restore
MIT License
87 stars 12 forks source link

Fix to issue #2 #3

Closed gcedo closed 9 years ago

gcedo commented 9 years ago

In IE browsers, the toString.call(value) would fail for the browser implementation of the window.toString function, as explained in http://stackoverflow.com/questions/19321938/invalid-calling-object-error-in-ie. Now it is bound to the Object prototype instead.

jupiter commented 9 years ago

Great, thanks.