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.
- Improved support for computed values in paths: support and bug fixes for templates (and data-linking) which include complex expressions with computed properties (with or without parameters), including computed values which return objects, and using paths which chain computed values - for example: "a.b().c.d.e(p, q).f" - Full support for deep paths with computed values, with live data binding to any chosen depth (see Breaking Change below), and optionally involving complex expressions - for example: "a.b()^c.d.e(p + (r - 1), q + 't').f + 'x' + g" BREAKING CHANGE (see BorisMoore#285): - Depth of binding of paths is now controlled by the '^' character, whether or not the path includes computed values. For example: "a.b().c" will do leaf binding only, so will 'observe' (listen to) changes in c, but NOT changes in b(). (This is breaking, since previously this path DID observe b()...) To observe both c and b(), use the path: "a.b()^c" To observe ALL changes in the path - a, b() and c(), use: "a^b().c" - Improved support for custom tag inheritance from base tag - e.g.: {baseTag: "for", ...} Bug Fixes BorisMoore#285 BorisMoore#287 BorisMoore#289 - Several small additional bug fixes. - Many new unit tests added.
- Loading branch information
1 parent
eeba165
commit 3c83204
Showing
17 changed files
with
6,967 additions
and
3,911 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.
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.