-
Notifications
You must be signed in to change notification settings - Fork 27.4k
fix($compile): use createMap() for $$observe listeners when initialized ... #10446
Conversation
CLAs look good, thanks! |
It is my understanding that we are going to use objects without prototype |
@lgalfaso $$observers already uses The test failure in IE is interesting though... |
mmm... it looks like this was relax some time ago. Then it LGTM |
landed as 8e28bb4 |
@jbedard @lgalfaso seems like this change upsets IE: https://travis-ci.org/angular/angular.js/jobs/43993200 It looks to me as a legitimate failure so we need to either roll-back or fix this one. |
@pkozlowski-opensource you are right, reverting this now |
reverted with f389f86 |
Cool - just a minor nit - I think that the commit message for revert should be |
this is not ready to be merged (at least, until IE is happy with it), moving it to 1.3.x |
@lgalfaso you're shadowing properties from the prototype chain --- you probably need to change Also, |
57705c7
to
263a7f6
Compare
I don't understand why only IE failed. But I think it makes sense to not support |
@jbedard --- I think the reason is that String/Number/Boolean host objects in IE probably don't support |
The test was causing |
Yeah exactly, it's weird. |
263a7f6
to
c6caf7d
Compare
@lgalfaso I updated the test to not break in IE. I guess attributes named 'hasOwnProperty' is not supported which makes sense. I still don't understand how non-IE passed though :| |
Is this ok to merge without the breaking test? |
LGTM |
…ed from attr interpolation
c6caf7d
to
b1246bf
Compare
…lized from attr interpolation This reverts commit 8e28bb4.
…ed from attr interpolation Closes #10446
...from attr interpolation
This alternate initialization of
$$observers
was missed in a27d827.