material icon indicating copy to clipboard operation
material copied to clipboard

"Assignment to read-only properties is not allowed in strict mode" on ng-click in IE since latest HEAD

Open stefan-schweiger opened this issue 11 years ago • 4 comments

The latest master (f984c29 bower-material) broke ng-clicks in IE (11 + win8).

You can see it in the md-list example when you click on the message button at the end (you will see the error in the console) and also in the md-menu demo by simply clicking on the menu

stefan-schweiger avatar Jul 29 '15 13:07 stefan-schweiger

Related? https://github.com/angular/material/issues/3927

KReden avatar Jul 29 '15 16:07 KReden

@stefan-schweiger - can you confirm that this SHA af05235 fix resolves your IE issues ?

Angular Material uses 'use strict;'for all of our modules. Unfortunately, window.parent already exists so strict mode will not fail at runtime.

ThomasBurleson avatar Jul 29 '15 16:07 ThomasBurleson

@ThomasBurleson fixed, thank you!

stefan-schweiger avatar Jul 30 '15 08:07 stefan-schweiger

@stefan-schweiger :+1:

ThomasBurleson avatar Jul 30 '15 13:07 ThomasBurleson