Tags: tiesont/jsrender
Tags
Commit 84 (v0.9.84 - Beta)
Sync with changes in v0.9.84 for JsViews
Feature improvements:
- Custom tags:
New 'tag contentCtx' feature:
Tag definition can include: tag.contentCtx - which specifies the data context within
the tag block content.
Set contentCtx = true for inheriting parentView context, or to a function, for
specifying other context
New 'tag argDefault' feature:
Tag definition can include: tag.argDefault: false - which prevents the first arg
defaulting to current data
Bug fixes:
- Several minor bug fixes
Unit tests:
- Several additional unit tests
Other minor breaking changes:
- The undocumented init: false feature for custom tags has been removed.
Commit 83 (v0.9.83 - Beta) Sync with changes in v0.9.83 for JsViews Downloads: - Minified files provided for all 'plugin librairies' - Updated download pages: http://www.jsviews.com/#download/jsrplugins Bug fixes: - BorisMoore#305 "Unknown template" error message with jQuery 3.0+ - Several minor bug fixes Unit tests: - Several additional unit tests
Commit 82 (v0.9.82 - Beta)
Feature improvements:
- New tag.contentCtx() method allows custom tags to set the data context
in wrapped blocks.
- Added {{else}} support on {{range}} (range.js)
Documentation:
- New documentation and samples for custom get/set property on compiled
View Model:
http://www.jsviews.com/#viewmodelsapi@ismanagersample
http://www.jsviews.com/#samples/computed/team-manager
Bug fixes:
- Some minor bug fixes
Unit tests:
- Several additional unit tests
Commit 80 (v0.9.80 - Beta) - Sync to version 80 used by JsViews - no significant changes 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: - Some minor bug fixes
Commit 76 (v0.9.76 - Beta) - New support for compiled View Models - using $.views.viewModels(...), and new map(), merge() and unmap() APIs for converting between plain object hierarchies and compiled View Model hierarchies - covered by the new documentation topics: http://www.jsviews.com/#jsrmodel, http://www.jsviews.com/#viewmodelsapi, http://www.jsviews.com/#jsvmodel and http://www.jsviews.com/#jsvviewmodelsapi. - Added escaping of = in {{>...}} and {{html:...}} - Prevent use of ['constructor'] in template expressions (so cannot instantiate new Function) - Several minor bug fixes - Several new and improved documentation topics: http://www.jsviews.com/#jsvapps Building apps (JsViews) http://www.jsviews.com/#jsrmodel Data / View Model (JsRender) http://www.jsviews.com/#jsvmodel Data / View Model (JsViews) http://www.jsviews.com/#viewmodelsapi Compiled View Models (JsViews) http://www.jsviews.com/#jsvviewmodelsapi Compiled View Models (JsViews) http://www.jsviews.com/#node/webpack Webpack support http://www.jsviews.com/#node/browserify Browserify support - Keyboard shortcuts provided for 'Search' on www.jsviews.com: Ctrl+/: search, Enter: new search, Escape: quit, Ctrl+Left/Right Arrow: Prev/Next result - Many additional unit tests
Commit 75 (v0.9.75 - Beta) Several new and improved documentation topics: - http://www.jsviews.com/#views JsRender view hierarchy - http://www.jsviews.com/#getindex Iterating over arrays: accessing the array index - http://www.jsviews.com/#contextualparams Contextual parameters - http://www.jsviews.com/#parentdata Accessing parent data - http://www.jsviews.com/#apps Building apps - http://www.jsviews.com/#jsrmodel Data / View Model - http://www.jsviews.com/#compiletmpl Using templates - http://www.jsviews.com/#d.templates Registering templates: $.templates() - http://www.jsviews.com/#helpers Using helpers - http://www.jsviews.com/#helpersapi Registering helpers: $.views.helpers() - http://www.jsviews.com/#converters Using converters - http://www.jsviews.com/#convertersapi Registering converters: $.views.converters() Unit tests - Many new unit tests added, especially for Browserify scenarios Bug fixes - BorisMoore#295 Issue with Browserify when loading jQuery statically, and JsRender/JsViews as a Browserify module
PreviousNext