Skip to content

Commit

Permalink
v1.0.5 release
Browse files Browse the repository at this point in the history
Improved TypeScript support

JsRender now has TypeScript declaration files included in the npm package
(at typescript/jsrender/index.d.ts).

See https://www.jsviews.com/#typescript
  • Loading branch information
BorisMoore committed Sep 24, 2019
1 parent 175976c commit 6c97c26
Show file tree
Hide file tree
Showing 18 changed files with 1,932 additions and 390 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
node_modules
bower_components
*.config
desktop.ini
built
Scripts
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
/test/browserify/bundles/*.js
*.config
gulpfile.js

desktop.ini
/Scripts
/node_modules
/bower_components
/demos
/test
/-*
built
6 changes: 6 additions & 0 deletions demos/demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
</head>
<body>

<div class="box">
<h3>The demos below have been superseded by the <em><a href="http://www.jsviews.com">documentation</a></em>
and <em><a href="http://www.jsviews.com/#samples/jsr">samples</a></em> on <em><a href="http://www.jsviews.com">jsviews.com</a></em>,
which are more up-to-date and complete</h3>
</div>

<div class="subhead"><< <a href="index.html">Index for JsRender and JsViews</a></div>

<h2>JsRender: Demos</h2>
Expand Down
4 changes: 2 additions & 2 deletions jsrender-node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JsRender v1.0.4: http://jsviews.com/#jsrender */
/*! JsRender v1.0.5: http://jsviews.com/#jsrender */
/*! **VERSION FOR NODE.JS** (For WEB see http://jsviews.com/download/jsrender.js) */
/*
* Best-of-breed templating in browser or on Node.js.
Expand All @@ -19,7 +19,7 @@ if (typeof exports !== 'object' ) {

//========================== Top-level vars ==========================

var versionNumber = "v1.0.4",
var versionNumber = "v1.0.5",

// global var is the this object, which is window when running in the usual browser environment

Expand Down
4 changes: 2 additions & 2 deletions jsrender.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JsRender v1.0.4: http://jsviews.com/#jsrender */
/*! JsRender v1.0.5: http://jsviews.com/#jsrender */
/*! **VERSION FOR WEB** (For NODE.JS see http://jsviews.com/download/jsrender-node.js) */
/*
* Best-of-breed templating in browser or on Node.js.
Expand Down Expand Up @@ -44,7 +44,7 @@ var setGlobals = $ === false; // Only set globals if script block in browser (no

$ = $ && $.fn ? $ : global.jQuery; // $ is jQuery passed in by CommonJS loader (Browserify), or global jQuery.

var versionNumber = "v1.0.4",
var versionNumber = "v1.0.5",
jsvStoreName, rTag, rTmplString, topView, $views, $expando,
_ocp = "_ocp", // Observable contextual parameter

Expand Down
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.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsrender",
"version": "v1.0.4",
"version": "v1.0.5",
"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 All @@ -20,7 +20,8 @@
"scripts": {
"test": "node ./test/unit-tests-node-runner.js"
},
"keywords": [
"types": "./typescript/jsrender/index.d.ts",
"keywords": [
"jsrender",
"node",
"express",
Expand All @@ -32,13 +33,14 @@
"ecosystem:jquery"
],
"devDependencies": {
"@types/jquery": "^3.3.31",
"browserify": "^11.0.1",
"gulp": "^3.9.0",
"glob-stream": "^5.0.0",
"jquery": "^3.0.0",
"jquery": "^3.4.1",
"qunit": "^0.7.6"
},
"dependencies": {
"through2": "^2.0.0"
"through2": "^3.0.1"
}
}
6 changes: 3 additions & 3 deletions test/browserify/bundles/1-bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/browserify/bundles/12-nested-bundle.js

Large diffs are not rendered by default.

Loading

0 comments on commit 6c97c26

Please sign in to comment.