Skip to content

Tags: caojinqin/jsrender

Tags

v0.9.87

Toggle v0.9.87's commit message
Commit 87 (v0.9.87 - Beta)

Sync with changes in v0.9.87 for JsViews

Documentation:
- New documentation added for view.ctxPrm() API:
  https://www.jsviews.com/#jsvviewobject@ctxprm

v0.9.86

Toggle v0.9.86's commit message
Commit 86 (v0.9.86 - Beta)

Feature improvements:

Many new and improved features, particularly related to custom tag
scenarios, as shown below. Documentation to follow on each of these
improvemnts to provide more information and specifics...

- New APIs view.ctxPrm() and tag.ctxPrm():
  Programmatically get contextual parameters:
  var fooValue = view.ctxPrm("foo"); // Get value of ~foo
  Similarly:
  var fooValue = tag.ctxPrm("foo"); // Get value of ~foo

- Views have a new property: view.root, which provides access to the "root
  ancestor view" (the uppermost view under the top view).

- Several minor bug fixes

Minor breaking change:
- $.views.getCtx(tagCtx.ctx.foo) API introduced in commit 80 has been
  removed. Use view.ctxPrm("foo") instead.

Unit tests:

- Several additional unit tests

v0.9.84

Toggle v0.9.84's commit message
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.

v0.9.83

Toggle v0.9.83's commit message
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:
  https://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

v0.9.82

Toggle v0.9.82's commit message
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:
  https://www.jsviews.com/#viewmodelsapi@ismanagersample
  https://www.jsviews.com/#samples/computed/team-manager

Bug fixes:

- Some minor bug fixes

Unit tests:

- Several additional unit tests

v0.9.81

Toggle v0.9.81's commit message
Commit 81 (v0.9.81 - Beta)

Syncing to new JsViews update, plus some minor bug fixes:

v0.9.80

Toggle v0.9.80's commit message
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 https://www.jsviews.com/#link-targets

Bug fixes:

- Some minor bug fixes

v0.9.79

Toggle v0.9.79's commit message
Commit 79 (v0.9.79 - Beta)

- Sync to version 79 used by JsViews - no significant changes

v0.9.78

Toggle v0.9.78's commit message
Commit 78 (v0.9.78 - Beta)

- Several minor bug fixes

v0.9.77

Toggle v0.9.77's commit message
Commit 77 (v0.9.77 - Beta)

- Several minor bug fixes