Skip to content

Commit

Permalink
Commit 74 (v0.9.74 - Beta)
Browse files Browse the repository at this point in the history
Updates and new documentation topics:

- Important updates and improvements to $.views.settings APIs:
  settings.allowCode(), settings.delimiters(), settings.debugMode() plus
  new settings.advanced(). See new documentation at
  www.jsviews.com/#settings and www.jsviews.com/#jsvsettings

- Support for unobserve() is now complete (and simplified): See updated
  documentation topic: www.jsviews.com/#unobserve

- Support for namespaces associated with observable changes is
  now complete: See new documentation topic: www.jsviews.com/#namespaces

- Support for error handling and debugging improved and extended, with
  some small changes to APIs - including for $.views.settings.debugMode,
  with full documention at www.jsviews.com/#onerror

- {{>}} is now equivalent to {{>#data}}

Minor breaking changes:

- $.observe(arr, "length", callback) now only listens to length, not to
  array changes but $.observe(arr, arr, "length", callback) listens to
  both length and array changes

- Namespaces with observeAll:
  $.observable(objectOrArray).observeAll(namespace, handler) is now
  written: $.observable(namespace, objectOrArray).observeAll(handler) -
  and similarly for .unobserveAll()

- JsRender and JsViews no longer use the (0, eval)('this') expression
  to get the window object. This means that they can now be minified
  by the Visual Studio minifier, in spite of it not correctly minifying
  this expression. See #323

Bug fixes:

- #334 (computed
  observable - depends)

- Several additional small bug fixes

- This update also includes a security fix
  • Loading branch information
BorisMoore committed Mar 20, 2016
1 parent 2e00b5a commit de0fd3f
Show file tree
Hide file tree
Showing 17 changed files with 3,957 additions and 2,988 deletions.
255 changes: 157 additions & 98 deletions jquery.observable.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions jquery.observable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jquery.observable.min.js.map

Large diffs are not rendered by default.

161 changes: 82 additions & 79 deletions jquery.views.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions jquery.views.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jquery.views.min.js.map

Large diffs are not rendered by default.

247 changes: 142 additions & 105 deletions jsrender.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions jsrender.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jsrender.min.js.map

Large diffs are not rendered by default.

570 changes: 319 additions & 251 deletions jsviews.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions jsviews.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jsviews.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsviews",
"version": "v0.9.73",
"version": "v0.9.74",
"description": "Next-generation MVVM and MVP framework - built on top of JsRender templates. Bringing templates to life...",
"main": "./jsviews.js",
"author": {
Expand Down Expand Up @@ -33,7 +33,7 @@
"glob-stream": "^5.0.0",
"gulp": "^3.9.0",
"jquery": "^2.1.4",
"jsrender": "^0.9.73",
"jsrender": "^0.9.74",
"qunit": "^0.7.6"
},
"dependencies": {}
Expand Down
Loading

0 comments on commit de0fd3f

Please sign in to comment.