forked from BorisMoore/jsviews
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature improvement: - References to contextual parameters are now data-bound - so for example: With {^{for items ~foo=observableExpr}} {^{:~foo}} {{/for}} the {^{:~foo}} above will update when observableExpr updates. - $.views.settings.delimiters(...) now also accepts an array such as ["<%", "%>"] - which might be the returned array from a previous call to $.views.settings.delimiters(). See http://www.jsviews.com/#settings/delimiters@tmpl-for-tmpl Breaking Change: - If ~foo=observableExpr is a contextual parameter declared on a tag, then within the tag, tagCtx.ctx.foo will not return the current value, but rather, an array which enables the live binding feature above. As a result, in JsViews, to obtain the value of ~foo from the ctx object, it is now necessary to use the API: $.views.getCtx(tagCtx.ctx.foo). (In JsRender, on the other hand, tagCtx.ctx.foo will also provide the value directly) Unit tests: - Several additional unit tests Documentation: - Several new and improved documentation topics including several new topics under "Targets for data-linking" at http://www.jsviews.com/#link-targets Bug fixes: - BorisMoore#344 - Several minor bug fixes
- Loading branch information
1 parent
7ba97ba
commit 65112e9
Showing
28 changed files
with
2,707 additions
and
1,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.