Skip to content

Commit

Permalink
Commit 76 (v0.9.76 - Beta)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
BorisMoore committed May 28, 2016
1 parent 3f1f8ae commit 0b9c01a
Show file tree
Hide file tree
Showing 25 changed files with 4,934 additions and 412 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

**[JsRender](https://github.com/BorisMoore/jsrender)** and **[JsViews](https://github.com/BorisMoore/jsviews)** together provide the next-generation implementation of the official jQuery plugins *[JQuery Templates](https://github.com/BorisMoore/jquery-tmpl)*, and *[JQuery Data Link](https://github.com/BorisMoore/jquery-datalink)* -- and supersede those libraries.

<h3>Documentation and Downloads</h3>
<h3>Documentation and downloads</h3>
**[Documentation](http://www.jsviews.com)**, **[downloads](http://www.jsviews.com/#download)**, **[samples](http://www.jsviews.com/#samples)** and **[API docs and tutorials](http://www.jsviews.com/#jsrapi)** are available on the **[www.jsviews.com website](http://www.jsviews.com/#jsrender)**.

The content of this ***ReadMe*** is available also as a *[JsRender Quickstart](http://www.jsviews.com/#jsr-quickstart)*.
Expand All @@ -16,7 +16,7 @@ JsRender is used for data-driven rendering of templates to strings, ready for in

It is also used by the *[JsViews](http://www.jsviews.com/#jsviews)* platform, which adds data binding to JsRender templates, and provides a fully-fledged MVVM platform for easily creating interactive data-driven single page apps and websites.

<h2>JsRender Installation</h2>
<h2>JsRender installation</h2>

*jsrender.js* is available from [downloads](http://www.jsviews.com/#download) on the jsviews.com site.

Expand All @@ -26,6 +26,7 @@ Alternatively:
- It can be installed with ***[Bower](http://bower.io/search/?q=jsrender)***, using `$ bower install jsrender`
- It can be loaded using an *AMD script loader*, such as RequireJS
- For installation using *Node.js* (*npm*) see *[JsRender Node.js Quickstart](http://www.jsviews.com/#jsr-node-quickstart)*
- (For browser loading using *Browserify* or *webpack* -- see also *[JsRender Node.js Quickstart](http://www.jsviews.com/#jsr-node-quickstart)*)

<h4><b>Using JsRender with jQuery</b></h4>
When jQuery is present, JsRender loads as a jQuery plugin and adds `$.views`, `$.templates` and `$.render` to the jQuery namespace object, `$` (or `window.jQuery`).
Expand Down Expand Up @@ -56,7 +57,7 @@ It also provides built-in *Express*, *Hapi* and *Browserify* integration -- whic

**Code samples:** See *[JsRender Node Starter](https://github.com/BorisMoore/jsrender-node-starter)* for running code examples of Node.js scenarios, including with *Express*, *Hapi* and *Browserify*.

<h2>JsRender Usage</h2>
<h2>JsRender usage</h2>

<h3><i>Define a template</i></h3>

Expand Down
Loading

0 comments on commit 0b9c01a

Please sign in to comment.