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

can.compute.read should not call can.route #1154

Closed
justinbmeyer opened this Issue Jul 8, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@justinbmeyer
Contributor

justinbmeyer commented Jul 8, 2014

If can.route is passed to mustache/stache like:

$("#app").html(can.view("app-stache",can.route));

It is read as a function by can.compute.read here:

https://github.com/bitovi/canjs/blob/master/compute/compute.js#L699

can.route should be an exception similar to functions created by can.Construct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment