Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($compile): get $$observe listeners array as own property #9346

Closed
wants to merge 1 commit into from

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Sep 30, 2014

Prevent accidentally treating a builtin function from Object.prototype as the
binding object, and thus preventing the compiler from throwing when using
attribute binding names which match a property of the Object prototype.

@caitp
Copy link
Contributor Author

caitp commented Sep 30, 2014

Slightly more expensive version of #9345 for v1.2.x

@caitp
Copy link
Contributor Author

caitp commented Sep 30, 2014

hmm, IE8 returns true when it arguably shouldn't -.-

Prevent accidentally treating a builtin function from Object.prototype as the binding object, and thus
preventing the compiler from throwing when using attribute binding names which match a property of the
Object prototype.
@caitp
Copy link
Contributor Author

caitp commented Sep 30, 2014

well, this doesn't seem to be working, unfortunately -.-

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants