- 29 Mar, 2013 11 commits
-
-
nothing at all with keypath, and it look into the model at all to fetch the value. It will not do any change support for the keypath either. This allows the binder to do something completely different with the attribute value. This can be access by way of this.keypath.
Adam Heath committed -
useful yet; later commits will then be able to inspect the binder for various features.
Adam Heath committed -
-
foo.bar.baz.one.two.three type access, and, even possibly supporting xpath or xql type access, if a suitablly sophisticated adapter is written.
Adam Heath committed -
first tokenized part of the key; use adapter.read instead. This broke all functional test cases, due to the adapter used therein having to deal with both a normal object, and a Data object.
Adam Heath committed -
adapter.read instead. This broke 1 test case. Going forward, adapter.read *must* do something sensible, at the least doing an object[key].
Adam Heath committed -
-
it directly. This required modifying the iterate handler to support objects in addition to arrays.
Adam Heath committed -
-
- 27 Mar, 2013 2 commits
-
-
-
reduced the size by removing access to this.options, and changing it to options, but it was this.options that was auto-vivified into a new object when the incoming options was null. The fix made here also happens to reduce the size a further 15 bytes.
Adam Heath committed
-
- 26 Mar, 2013 2 commits
-
-
- 25 Mar, 2013 10 commits
-
-
allows for general-purpose functions to always look at the former. It makes data-class-even="workers:isEven" possible.
Adam Heath committed -
the minified output file; the callback was being called in all cases, not just when there were dependencies.
Adam Heath committed -
activates when it detects {{}} in the attribute value. This can be useful when building up values with variables interspersed with constants. An example is href="/path/to/images/{{order.orderId}}/{{order.overlay}}.png" This correctly handles bind/unbind, and updates to the possibly many internal variables.
Adam Heath committed -
-
this is 0-based. If each-* happens to be given an object, then _index will contain the key.
Adam Heath committed -
-
-
each-*, use a global callback to do the looping. This will global function will eventually check the adapter for an overridden version.
Adam Heath committed
-
- 21 Mar, 2013 1 commit
-
-
rebuilt lib/rivets.js, so didn't notice that I saved the current model with the wrong name into the binding's options.
Adam Heath committed
-
- 20 Mar, 2013 1 commit
-
-
Rivets.Binding() isn't needed. I had mistakenly changed an external api, which is generally frowned upon.
Adam Heath committed
-
- 19 Mar, 2013 1 commit
-
-
- 11 Jan, 2013 2 commits
-
-
- 30 Dec, 2012 3 commits
-
-
- 17 Dec, 2012 1 commit
- 13 Dec, 2012 1 commit
-
-
This commit fixes an issue with the each-* binding where all but the first element would be inserted into incorrect positions when the binding is used on an element with siblings. The issue occurred because the code was passing a Rivets.View instance in to insertBefore for all but the first element, which just caused the element to be inserted last.
Graeme Coupar committed
-
- 20 Nov, 2012 3 commits
-
-
- 17 Nov, 2012 2 commits
-
-