Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Bugfix that removes "setIsOpen is not a function" #4030

Closed
wants to merge 1 commit into from

Conversation

palaslet
Copy link
Contributor

When binding "is-open" to an expression, the variable "getIsOpen" does not have "assign" function after the $parse call. This is ok since the the "isOpen" variable is assigned from the outside anyway. We just need to stop trying to execute the assign function to prevent the error.

We might be able to disable more code when the "is-open" attribute is used, but that's a much bigger job.

When binding "is-open" to an expression, the variable "getIsOpen" does not have "assign" function after the $parse call. This is ok since the the "isOpen" variable is assigned from the outside anyway. We just need to stop trying to execute the assign function to prevent the error.

We might be able to disable more code when the "is-open" attribute is used, but that's a much bigger job.
@wesleycho wesleycho added this to the 0.13.2 (Performance) milestone Jul 28, 2015
@wesleycho wesleycho closed this in 60e4316 Jul 28, 2015
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.

2 participants