Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Absent parameters in DOM Bindings document #10

Open
gamtiq opened this issue Aug 8, 2014 · 1 comment
Open

Absent parameters in DOM Bindings document #10

gamtiq opened this issue Aug 8, 2014 · 1 comment

Comments

@gamtiq
Copy link

gamtiq commented Aug 8, 2014

It seems there is absent parameter in signature of bindCSS and in the corresponding example inside DOM Bindings document.
In the former case there is no reference to the processed DOM element:

.bindCSS(attr_name,value) — set a CSS attribute of the DOM obj.

In the latter case CSS style property (attr_name) is absent:

var binding = cjs.bindCSS(my_elem, bg_color); // my_elem has a red background

@gamtiq
Copy link
Author

gamtiq commented Aug 8, 2014

Also ) is absent at the end of the first sentence in Array & Map Constraints:

So far, all of the constraint variables we have discussed have been simple objects (constructed using cjs.constraint() .

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

No branches or pull requests

1 participant