-
Notifications
You must be signed in to change notification settings - Fork 421
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
2.1 API Changes #635
Comments
word "context" is more often seen in real life and thus more common to be used as model's attribute name. "scope" is pretty netural and rare. In British words corpus (http://corpus.byu.edu/bnc/) "scope" has 3394 frequency score, "map" - 4026 and "context" - 8441. |
Those numbers are within the same order of magnitude - not a very convincing argument. |
I agree with I'm not so sure about |
@stevenvachon why not just have can.mustache and can.ejs? No one uses can.Mustache. |
People on IRC are often expecting |
Couldn't the same be said of can.Construct and everything that inherit, uses it? What are you after that confuses you? Almost everything important is in Mustache/EJS. I'm actually going to pull out bindings too. I don't want everything hidden under can.view. Sent from my iPhone
|
Yeah, but When I'm looking for info on what And, if you're referring to the |
The |
Here's a list of API changes I'd like to make for 2.1 while still being backwards compatible with 2.0.
can.Component's scope property renamed context
scope
was used because of angular and scope can be used to define a scope. However, one is usually defining thecontext
of the component's mustache template. This will make ideas like scope and context easier to understand.can.mustache and can.ejs
I want to be able to create a mustache template like
can.mustache(TEMPLATESTRING)
notcan.view.mustache()
.The text was updated successfully, but these errors were encountered: