2190 canjs api update #2232

Merged
merged 4 commits into from Feb 3, 2016

Conversation

Projects
None yet
3 participants
@mjstahl
Member

mjstahl commented Feb 2, 2016

No description provided.

@justinbmeyer justinbmeyer self-assigned this Feb 2, 2016

@justinbmeyer justinbmeyer added this to the 2.3.14 milestone Feb 2, 2016

justinbmeyer added a commit that referenced this pull request Feb 3, 2016

@justinbmeyer justinbmeyer merged commit 655316b into master Feb 3, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@justinbmeyer justinbmeyer deleted the 2190-canjs-api-update branch Feb 3, 2016

@@ -36,7 +36,7 @@ With the release of canJS 2.3 the new [can.view.bindings binding syntax] provide
* One-Way binds the `value` in the [can.view.Scope scope] to a element's attribute or property.
```
- <input {$placeholder}="value">
+ <input {placeholder}="value">

This comment has been minimized.

@pYr0x

pYr0x Feb 3, 2016

why remove the $ sign?

http://canjs.com/docs/can.view.bindings.toChild.html

{$child-prop}="key"

Imports key in the scope to childProp property or attribute on the element.

this is wrong and would not work
http://jsbin.com/sinamubuyu/edit?html,js,output

@pYr0x

pYr0x Feb 3, 2016

why remove the $ sign?

http://canjs.com/docs/can.view.bindings.toChild.html

{$child-prop}="key"

Imports key in the scope to childProp property or attribute on the element.

this is wrong and would not work
http://jsbin.com/sinamubuyu/edit?html,js,output

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