Skip to content

Commit

Permalink
Commit v1.0.14
Browse files Browse the repository at this point in the history
This update provides additional features and improvements for
{^{checkboxgroup}} and {^{radiogroup}} tags - together with
supporting documentation.

https://www.jsviews.com/#jsvcheckboxgrouptag@selector
https://www.jsviews.com/#jsvradiogrouptag@selector

See also advanced samples here:
https://www.jsviews.com/#samples/sort-filter@nested-group-tags

The update also brings improved domChangeEvent support. See the
documentation here:
https://www.jsviews.com/#tagoptions@domchange

It also includes some additional minor bug fixes and documentation
updates
  • Loading branch information
BorisMoore committed Apr 16, 2024
1 parent 506e2fa commit 6b71243
Show file tree
Hide file tree
Showing 101 changed files with 11,685 additions and 1,735 deletions.
239 changes: 125 additions & 114 deletions _src/jquery.views.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions _src/jsrender-node-starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsrender-node-starter",
"version": "1.0.13",
"version": "1.0.14",
"description": "Starter app for JsRender server-rendered templates on Node.js using Express 4 or Hapi, and optionally Browserify and JsRenderify",
"main": "index-express.js",
"scripts": {
Expand All @@ -21,8 +21,8 @@
"@hapi/inert": "^5.2.1",
"@hapi/vision": "^5.5.2",
"jquery": "^3.4.1",
"jsrender": "^1.0.13",
"jsviews": "^1.0.13",
"jsrender": "^1.0.14",
"jsviews": "^1.0.14",
"serve-favicon": "^2.5.0",
"through2": "^3.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion _src/jsrender.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function contextParameter(key, value, get) {
// Not a contextual parameter
// Set storeView to tag (if this is a tag.ctxPrm() call) or to root view ("data" view of linked template)
storeView = storeView.tagCtx || $isFunction(res)
? storeView // Is a tag, not a view, or is a computed contextual parameter, so scope to the callView, no the 'scope view'
? storeView // Is a tag, not a view, or is a computed contextual parameter, so scope to the callView, not the 'scope view'
: (storeView = storeView.scope || storeView,
!storeView.isTop && storeView.ctx.tag // If this view is in a tag, set storeView to the tag
|| storeView);
Expand Down
2 changes: 1 addition & 1 deletion _src/jsrender/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsrender",
"version": "v1.0.13",
"version": "v1.0.14",
"description": "Best-of-breed templating in browser or on Node.js (with Express 4, Hapi and Browserify integration)",
"main": "./jsrender-node.js",
"browser": "./jsrender.js",
Expand Down
4 changes: 2 additions & 2 deletions _src/jsviews/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsviews",
"version": "v1.0.13",
"version": "v1.0.14",
"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 @@ -35,7 +35,7 @@
"browserify": "^11.0.1",
"glob-stream": "^5.0.0",
"gulp": "^3.9.0",
"jsrender": "^1.0.13",
"jsrender": "^1.0.14",
"qunit": "^0.7.6"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion _src/templates/-copyright.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* Copyright 2023, Boris Moore
* Copyright 2024, Boris Moore
* Released under the MIT License.
2 changes: 1 addition & 1 deletion dash.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ <h2>JsViews dashboard</h2>
}
var thisUrl = url,
scriptSections = scriptsToCompile[thisUrl];
if (thisUrl.slice(-3) === ".js") {
if (thisUrl.slice(-3) === ".js" || thisUrl.slice(-4) === ".txt") {
$.ajax({
url: thisUrl,
dataType: "text"
Expand Down
2 changes: 1 addition & 1 deletion documentation/contents-categories.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion documentation/contents-community.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6b71243

Please sign in to comment.