-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError when checklist-model is a function #65
Labels
Comments
Closed
Hopefully fixed in #66 |
Could you please provide a test case for this in Plunkr or JsFiddle? Thanks |
Could you also rebase your pull request? |
A new test case must be added. |
I added a test case and the fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The setter variable is undefined in the watch when the getter is a function. This leads to the following error message in the console:
TypeError: undefined is not a function
at Object.fn (checklist-model.js:69)
at Scope.$digest (angular.js:12251)
at Scope.$apply (angular.js:12516)
at HTMLTableRowElement. (angular.js:18626)
at angular.js:2780
at forEach (angular.js:330)
at HTMLTableRowElement.eventHandler (angular.js:2779)
The text was updated successfully, but these errors were encountered: