fix(patch): fix #746, check desc get is null and only patch window.resize additionally#747
Conversation
| if (prop.substr(0, 2) == 'on') { | ||
| onProperties.push(prop); | ||
| } | ||
| const prop = 'on' + properties[i]; |
There was a problem hiding this comment.
can we have an explicit list rather than iterating over everything? The issue is that closure compiler creates lots of properties on the window with mangled names, and it is quite easy for them to start with on
There was a problem hiding this comment.
Got it, I will first add on resize and figure out what others are needed.
|
@mhevery , I have updated my PR.
please review. thank you ! |
|
I tried the patch, it still gives the same error. Same steps to reproduce. Brand new project, ng serve, error. |
|
@JiaLiPassion it works! Thanks. |
|
is it fixed? which version? i tried downgrade from 0.8.8 to 0.8.5 and 0.8.4 but same issue as described in #6063 |
|
@JiaLiPassion, do you know when /dist folder is going to be updated? Thanks! |
|
@dkontorovskyy , it will be the next version release, please wait for a while. |
* Fixes console error caused by [email protected] * angular/angular-cli#6036 * angular/zone.js#747
fix #746,fix #741