constraintjs
constraintjs copied to clipboard
Constraint library for JavaScript
setOption is not working (`var keys = keys(arg0)` overwrites while trying to call the `keys` function). This pull request fixes it and add corresponding unit test.
Issue #14 fix.
Revive push request #12 solving issue #11 (branch renamed in forked repository).
ConstraintJS embeds a lot of different functionalities such as templates or fsm. All these functionalities make the library quite big while a user may only need some part of it....
When a given css property is a number, jquery automatically add the 'px' suffix. Exceptions are (from jquery source code): ``` javascript { "columnCount": true, "fillOpacity": true, "flexGrow": true, "flexShrink":...
MapConstraint breaks when created with a value parameter containing "length". The reason is that it uses the `each` function to create the `options.keys` and `options.values` arrays from `options.value`, but `each`...
It seems there is absent parameter in signature of `bindCSS` and in the corresponding example inside [DOM Bindings document](https://github.com/soney/ConstraintJS/wiki/DOM-Bindings). In the former case there is no reference to the processed...
There is a typo in the example for [cjs.bindCSS documentation](http://cjs.from.so/api/#cjs_bindCSS): > cjs.bindCSS(my_elem, **''background-color'**, color); Moreover it seems that the second signature of `bindCSS` should be `bindCSS(element, key, value)` where `element`...
It would be nice to be able to create a MapConstraint of a MapConstraint.. For example: ``` javascript var cjsMap = cjs({ '1': 'a', '2': 'b' }); var other =...