angular: angular2-polyfills.min.js throws deprecation warning since beta.3
While loading, I am getting below error in Firefox browser console:
DEPRECATION WARNING: 'enqueueTask' is no longer supported and will be removed in next major release. Use addTask/addRepeatingTask/addMicroTask
DEPRECATION WARNING: 'dequeueTask' is no longer supported and will be removed in next major release. Use removeTask/removeRepeatingTask/removeMicroTask
Please get rid of it.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (4 by maintainers)
The fix will come when the Angular team and/or Zone team take care of whatever issues standing in the way see some comments above for details.
But as a interim workaround, just open the polyfills source file, find the line of code that emits those warnings, and remove. I did this when I needed to do a demonstration of a bunch of unrelated Angular 2 features, and didn’t want the limited space on the screen I was projecting in front of a bunch of people to be wasted on these irritating deprecation warnings.
Deprecation is what happens during beta, so as not to make breaking changes wherever possible.
On Mon, Feb 15, 2016 at 7:20 PM Kyle Cordes notifications@github.com wrote: