Skip to content
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

Reading from undefined values in scope. #1314

Closed
justinbmeyer opened this issue Nov 7, 2014 · 2 comments · Fixed by #1335
Closed

Reading from undefined values in scope. #1314

justinbmeyer opened this issue Nov 7, 2014 · 2 comments · Fixed by #1335
Labels
Milestone

Comments

@justinbmeyer
Copy link
Contributor

Related to: #762, if scope reads from an undefined value, it errors:

var scope = new can.view.Scope(undefined);

var compute = scope.compute("property");

equal(compute(), undefined, "got back undefined");
@justinbmeyer justinbmeyer added this to the 2.1.4 milestone Nov 7, 2014
@matthewp
Copy link
Contributor

matthewp commented Nov 7, 2014

I previously reported this and included a test: #1297

@daffl
Copy link
Contributor

daffl commented Nov 19, 2014

#1297 and this are two separate issues actually.

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

Successfully merging a pull request may close this issue.

3 participants