-
Notifications
You must be signed in to change notification settings - Fork 408
ZoneTask.toString() method missing #341
Comments
I have created modified distribution file here: http://filebin.ca/2hRxo13INo5U/zone.js-0.6.12.tgz Affected files are:
Both files have toString method implemented. Using this file is the only way to use zone.js along with angular 1.5 side by side. |
@char0n Nice catch. Could you create PR with a fix? |
@mhevery I'll try |
I am having problem installing the project. I run on Windows 8.1. In order to install the project I had to modify the package.json: "prepublish": "./node_modules/.bin/typings install && ./node_modules/.bin/tsc && gulp build" to "prepublish": "./node_modules/.bin/typings install && call ./node_modules/.bin/tsc && gulp build" Then when I run npm install I get this error:
Here is full npm-debug.log: https://gist.github.com/char0n/ac5d88b2067f715d4320998292d1de32 |
Is there a way to keep the native behaviour of |
after updating to rc.3, I can't repro #361 anymore. |
I have reported this issue to AngularJs team: angular/angular.js#14548
Basically their are right in their assumption that using zone.js should not change setTimeout. Imagine this situation when using zone.js.
The result of defferedTracker is:
This is the way angular1 tracks timeouts and interval. Using zone.js allows to cancel only the last timeout or interval.
To fix this issue I would suggest for ZoneTask to have toString method which for setTimeout and setInterval should look like this:
Without fixing this, using zone.js in angular1 application is just not possible.
Thank you
The text was updated successfully, but these errors were encountered: