Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BorisMoore/jsrender
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.89
Choose a base ref
...
head repository: BorisMoore/jsrender
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 18 commits
  • 62 files changed
  • 1 contributor

Commits on Nov 29, 2017

  1. Commit 90 (v0.9.90 - Beta)

    Sync with changes in v0.9.90 for JsViews
    
    Minor bug fixes, including:
    
    - Fix for syntax error bug for debugMode(true) with {{else}} blocks
      BorisMoore/jsviews#395
    
    - Fix for bug in advanced nested $.render() call scenarios (when
      useViews advanced setting is false):
      #333
    
    Minor change for custom tags:
    
    - If a tag has no args, and argDefault is not set to false, then the
      tagCtx.args[] will be [#data] (where #data is the current data
      context). Note that the render() method will receive the current data
      as parameter. (See https://www.jsviews.com/#tagsapi@argdefault)
    
    Unit tests:
    
    - Some additional unit tests
    BorisMoore committed Nov 29, 2017
    Copy the full SHA
    d046653 View commit details

Commits on Sep 22, 2018

  1. Commit 91 (v0.9.91 - Beta)

    Major update
    
    Breaking change
    
    - Templates declared in <div> or other non script element are not
      supported. (Throws with error message)
    
    Minor breaking changes
    
    - The {{range}} tag has been removed - replaced by {{for}} tag using
      built-in range features. See https://www.jsviews.com#jsvfortag@jsvsortfilterrange
    
    Major feature improvements
    
    - The {{for}} tag now has built-in support for sort, filter, start and
      end. See https://www.jsviews.com#fortag@sortfilterrange
    
    - The {{props}} tag now has built-in support for sort, filter, start
      and end. See https://www.jsviews.com#propstag@sortfilterrange
    
    - New converters encode/unencode. See https://www.jsviews.com#convertersapi@encode
    
    - New tag options: bindFrom - together with tag option bindTo - provide
      improved features for custom tags.
      See https://www.jsviews.com#tagoptions@bindto and https://www.jsviews.com#tagoptions@bindfrom
    
    Minor feature improvements
    
    - New APIs added for tagCtx.ctxPrm(), tagCtx.cvtArgs() and
      tagCtx.bndArgs() even for non-data-linked tags - documentation to follow
    
    - The contentCtx option now works also for custom tag using render(),
      rather than a template. See https://www.jsviews.com#tagsapi@contentctx
    
    - In a template, ~tag.tagCtx.xxx can now be written ~tagCtx.xxx,
      and works correctly e.g. for data-linking using
      {{mytag}}{{else}}{{~tagCtx...}}{{/mytag}} - documentation to follow
    
    - ~tagCtx is now a reserved name like ~tag ~root ~parentTags...
    
    - New debug:true option on a compiled template.
      See https://www.jsviews.com#d.templates@debug
    
    - An error will be thrown if different versions of jsrender.js,
      jquery.observable.js and  jquery.views.js are loaded together
    
    - DataMap, {{props}} and {{jsonview}} now include support for function
      properties too, unless opt out using {{props foo noFunctions=true}}.
      See https://www.jsviews.com#propstag@nofunctions
    
    - Support for nested {{for}} tags without iteration, and for then
      applying operations such as sorting to arrays in nexted context, as in
      {{for filter=... noIteration=true}}{{for sort=... noIteration=true}}{{for start=...  end=...}}.
      See https://www.jsviews.com#fortag@itemvar
    
    Documentation
    
    - Extensive new documentation, especially on custom tag controls:
      See https://www.jsviews.com#jsvtagcontrols. For an example of a JsViews
      custom tag control see https://www.jsviews.com#samples/tag-controls/colorpicker
    
    Minor bug fixes, including:
    
    - a contentEditable bug for IE
    
    - a bug in jquery-1.x cleanData
    
    - Issue BorisMoore/jsviews#404
      Props Convert else statement not working
    
    - Issue BorisMoore/jsviews#403
      ~ operator support
    
    - Issue BorisMoore/jsviews#400
      Move the tag property in views to before rendering, to enable "get current path" path scenario
    
    - Issue #335
      encode and unencode converters
    BorisMoore committed Sep 22, 2018
    Copy the full SHA
    d3e2011 View commit details

Commits on Nov 27, 2018

  1. v1.0.0 release

    JsRender, JsObservable and JsViews are now all stable v1.0.0 releases:
    
    - This update moves from the previous beta releases to the first official
      non-beta release: v1.0.0, both for jsrender.js and jsviews.js.
    
    - There will be no further major breaking changes before v2.0.0
    
    TypeScript definition fles now available:
    
    - This update provides TypeScript definition files, see https://www.jsviews.com#typescript
    
    Documentation:
    
    - API documentation for JsViews, JsObservable and JsViews is now complete.
      It includes extensive new documentation, including:
      - JsRender objects - at https://www.jsviews.com#jsrobjects
      - JsViews objects - at https://www.jsviews.com#jsvobjects
    
    Minor bug fixes:
    
    - This update includes some minor bug fixes, and some added code comments.
    
    - Issue #211
      Provide TypeScript definitions
    BorisMoore committed Nov 27, 2018
    Copy the full SHA
    19a0d04 View commit details

Commits on Dec 23, 2018

  1. v1.0.1 release

    Feature improvement
      Unicode character support in template expressions
      https://www.jsviews.com/#unicode
      #342
    
    Minor bug fix:
      Correction to typescript definition files:
      https://www.jsviews.com/#typescript
    BorisMoore committed Dec 23, 2018
    Copy the full SHA
    8230694 View commit details

Commits on Feb 11, 2019

  1. v1.0.2 release

    Several minor bug fixes
    
    Additional and improved documentation topics and samples...
    Additional unit tests...
    BorisMoore committed Feb 11, 2019
    Copy the full SHA
    fab7e4e View commit details

Commits on Apr 28, 2019

  1. v1.0.3 release

    Feature improvements:
    
    New support for referencing the parent object in hierarchical
      View Model scenarios (parentRef):
    
    - https://www.jsviews.com/#jsrmodel@parentref
    
    Bug fixes:
    
    - Some minor bug fixes
    
    Additional and improved documentation topics and samples...
    
    Updated tree view samples:
    - https://www.jsviews.com/#samples/tag-controls/tree
    
    Updated Typescript definitions (soon to be deployed DefinitelyTyped):
    - https://www.jsviews.com/#typescript
    
    Sync with changes in v1.0.3 for JsViews
    BorisMoore committed Apr 28, 2019
    Copy the full SHA
    5b746b2 View commit details

Commits on Aug 3, 2019

  1. v1.0.4 release

    Minor bug fixes:
    
    - BorisMoore/jsviews#424
      (itemVar is not created on new items in observable array)
    
    - BorisMoore/jsviews#423
      (memory leak issues)
    BorisMoore committed Aug 3, 2019
    Copy the full SHA
    175976c View commit details

Commits on Sep 24, 2019

  1. v1.0.5 release

    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
    BorisMoore committed Sep 24, 2019
    Copy the full SHA
    6c97c26 View commit details

Commits on Jun 18, 2020

  1. v1.0.6 release

    Minor bug fix
    
    Small corrections or improvements to documentation
    and some additional unit tests...
    BorisMoore committed Jun 18, 2020
    Copy the full SHA
    28dedcf View commit details

Commits on Jul 12, 2020

  1. v1.0.7 release

    Feature improvements for JsRender on Node.js:
    
      (See issue #357)
    
    - File based templates for JsRender on Node.js now allow
      absolute paths
    
      See the updated documentation topic:
      https://www.jsviews.com/#node/filetmpls@htmlfile
    
    - The renderFile() method for JsRender on Node.js
      now allows passing of context and helpers as well
      as data
    
      See the new documentation topic:
      https://www.jsviews.com/#node/filetmpls@renderfilehlelpers
    
    Bug fix:
    
    - BorisMoore/jsviews#445
      jsrender.min.js.map truncated
    
    Additional small corrections or improvements to documentation
    and some additional unit tests...
    BorisMoore committed Jul 12, 2020
    Copy the full SHA
    3c0b14b View commit details

Commits on Oct 25, 2020

  1. v1.0.8 release

    Sync with changes in v1.0.8 for JsViews
    
    Feature improvements:
      - Improvements (and associated bug fixes) when converters return arrays.
        With minor breakng change for some advanced scenarios:
    
        Converters which return arrays now have an improved heuristic behavior
        to determine whether to return the array (retArray) as value for the
        first argument, or as an array of values for multiple bindTo/bindFrom
        targets.
        (If bindTo/bindFrom is an array of length l, l > 1 and the converter
        is returning an array retArray of length l, then treat retArray as an
        array of values for the multiple targets bindTo/bindFrom targets)
        In addition the heurisic default behavior can be overidden by setting
        retArray.arg0 = true/false.
    
        See http://jsviews.com/#tagsapi@bindto
    
    Additional small corrections or improvements to documentation, and some
    additional unit tests...
    BorisMoore committed Oct 25, 2020
    Copy the full SHA
    81dc0f6 View commit details

Commits on Dec 5, 2020

  1. v1.0.9 release

    Replacement of truncated version of jsrender.min.js.map with correct
    non-truncated version.
    
    This update is otherwise identical to v1.0.8.
    
    Details:
    
      In v1.0.8 there was an erroneously truncated version of jsrender.min.js.map in the
      JsRender GitHub repositories, as well as on the CDN:
      - https://cdnjs.cloudflare.com/ajax/libs/jsrender/1.0.8/jsrender.min.js.map
    
      (Note that the v1.0.8 version at https://www.jsviews.com/download/jsrender.min.js.map
      was the correct complete file - also available here:
      https://raw.githubusercontent.com/BorisMoore/jsviews.com/febf6d8975dc66e18ff2b600f565c42ed286e4b4/download/jsrender.min.js.map)
    
    With this update, all truncated versions are replaced by the correct complete
    file.
    
    See BorisMoore/jsviews#445 (comment)
    and #362
    BorisMoore committed Dec 5, 2020
    Copy the full SHA
    ad2a627 View commit details

Commits on Jan 10, 2021

  1. v1.0.10 release

    Sync with changes in v1.0.10 for JsViews
    Minor bug fixes
    BorisMoore committed Jan 10, 2021
    Copy the full SHA
    645902a View commit details

Commits on Jan 28, 2021

  1. v1.0.11 release

    Feature improvement when using JsRender in a browser, without jQuery:
    It is now possible to pass an ID selector for a script block
    to $.templates("#myTmpl"), even when using JsRender without jQuery
    
    See #363
      Provide support for passing an ID selector to $.templates() even
      when using JsRender without jQuery
    
    Sync with other changes in v1.0.11 for JsViews
    BorisMoore committed Jan 28, 2021
    Copy the full SHA
    3c4b7b1 View commit details

Commits on Nov 12, 2022

  1. v1.0.12 release

    This update contains a performance improvement, suggested in the issue:
    BorisMoore/jsviews#453
    
    All instances of code which test whether an object, someObject, is
    of type string by testing:
        if (someObject + "" !== someObject) {...}
    have been replaced by more performant code:
        if (typeof someObject !== 'string') {...}
    
    This change applies to jsrender, jsviews and jsobservable files...
    
    Sync with other changes in v1.0.12 for JsViews
    BorisMoore committed Nov 12, 2022
    Copy the full SHA
    75f2059 View commit details

Commits on Mar 31, 2023

  1. v1.0.13 release

    This update contains a minor bug fix:
    BorisMoore/jsviews#455: "Using a tmpl selector
    that begins with a # but is not an ID selector does not work".
    
    This change applies to jsrender and jsviews
    
    The update also includes some minor documentation updates, and moves
    to the latest versions of JQuery and JQuery UI, for all samples, examples,
    and test pages.
    
    Sync with other changes in v1.0.13 for JsViews
    BorisMoore committed Mar 31, 2023
    Copy the full SHA
    2440b69 View commit details

Commits on Apr 17, 2024

  1. v1.0.14 release

    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
    BorisMoore committed Apr 17, 2024
    Copy the full SHA
    6c9f443 View commit details

Commits on Jul 14, 2024

  1. v1.0.15 release

    Minor update - sync with other changes in v1.0.15 for JsViews
    BorisMoore committed Jul 14, 2024
    Copy the full SHA
    e3e3d09 View commit details
Showing with 22,127 additions and 11,611 deletions.
  1. +2 −0 .gitignore
  2. +2 −1 .npmignore
  3. +1 −1 MIT-LICENSE.txt
  4. +6 −3 README.md
  5. +6 −0 demos/demos.html
  6. +2 −2 demos/index.html
  7. +1 −1 demos/scenarios/01_default-values-scenario.html
  8. +1 −1 demos/scenarios/02_separators-scenario.html
  9. +1 −1 demos/scenarios/03_iterating-through-fields-scenario.html
  10. +1 −1 demos/scenarios/04_assigning-variables-scenario.html
  11. +1 −1 demos/scenarios/05_arrays-plus-headers-and-footers.html
  12. +1 −1 demos/step-by-step/01_inserting-data.html
  13. +1 −1 demos/step-by-step/02_compiling-named-templates-from-strings.html
  14. +1 −1 demos/step-by-step/03_converters-and-encoding.html
  15. +1 −1 demos/step-by-step/04_if-else-tag.html
  16. +1 −1 demos/step-by-step/05_for-tag.html
  17. +1 −1 demos/step-by-step/06_template-composition.html
  18. +1 −1 demos/step-by-step/07_paths.html
  19. +1 −1 demos/step-by-step/08_custom-tags.html
  20. +1 −1 demos/step-by-step/09_helper-functions.html
  21. +1 −1 demos/step-by-step/10_comparison-tests.html
  22. +1 −1 demos/step-by-step/11_accessing-parent-data.html
  23. +1 −1 demos/step-by-step/12_passing-in-context.html
  24. +1 −1 demos/step-by-step/13_associating-helpers-with-templates.html
  25. +1 −1 demos/variants/accessing-templates/01_compiling-template-objects-from-strings.html
  26. +1 −1 demos/variants/accessing-templates/02_registering-named-template-from-script-declaration.html
  27. +1 −1 demos/variants/accessing-templates/03_getting-template-objects-from-script-declaration.html
  28. +1 −1 demos/variants/accessing-templates/04_template-composition-subtemplates.html
  29. +1 −1 demos/variants/accessing-templates/05_template-composition-templateobjects.html
  30. +2 −1 gulpfile.js
  31. +1,037 −506 jsrender-node.js
  32. +1,038 −505 jsrender.js
  33. +2 −2 jsrender.min.js
  34. +1 −1 jsrender.min.js.map
  35. +3,746 −3,387 package-lock.json
  36. +11 −8 package.json
  37. +1,044 −511 test/browserify/bundles/1-bundle.js
  38. +1,046 −513 test/browserify/bundles/12-nested-bundle.js
  39. +3,560 −2,243 test/browserify/bundles/2-bundle.js
  40. +3,560 −2,243 test/browserify/bundles/3-bundle.js
  41. +1,045 −512 test/browserify/bundles/htm-jsrender-tmpl-bundle.js
  42. +1,045 −512 test/browserify/bundles/html-jsr-tmpl-bundle.js
  43. +3 −2 test/index.html
  44. +1 −1 test/perf-compare.html
  45. +23 −0 test/test.min.map.html
  46. +2 −3 test/unit-tests-amd-scriptloader.html
  47. +1 −1 test/unit-tests-browserify.html
  48. +2 −2 test/unit-tests-jsrender-no-jquery.html
  49. +2 −2 test/unit-tests-jsrender-with-jquery.html
  50. +1 −1 test/unit-tests-node-runner.js
  51. +1 −1 test/unit-tests/requirejs-config.js
  52. +19 −16 test/unit-tests/tests-jsrender-amd-scriptloader.js
  53. +2,466 −0 test/unit-tests/tests-jsrender-no-jquery-withIE.js
  54. +772 −500 test/unit-tests/tests-jsrender-no-jquery.js
  55. +456 −0 test/unit-tests/tests-jsrender-with-jquery-withIE.js
  56. +105 −76 test/unit-tests/tests-jsrender-with-jquery.js
  57. +29 −30 test/unit-tests/tests-node.js
  58. +2 −2 tmplify/index.js
  59. +416 −0 typescript/jsrender/index.d.ts
  60. +13 −0 typescript/jsrender/test/tests.html
  61. +615 −0 typescript/jsrender/test/tests.ts
  62. +19 −0 typescript/jsrender/test/tsconfig.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
@@ -3,10 +3,11 @@
/test/browserify/bundles/*.js
*.config
gulpfile.js

desktop.ini
/Scripts
/node_modules
/bower_components
/demos
/test
/-*
built
2 changes: 1 addition & 1 deletion MIT-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015 Boris Moore https://github.com/BorisMoore/jsrender
Copyright (c) 2024 Boris Moore https://github.com/BorisMoore/jsrender

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## JsRender: best-of-breed templating

[![CDNJS version](https://img.shields.io/cdnjs/v/jsrender.svg)](https://cdnjs.com/libraries/jsrender)

*Simple and intuitive, powerful and extensible, lightning fast*

*For templated content in the browser or on Node.js (with Express 4, Hapi and Browserify integration)*
@@ -40,7 +42,7 @@ When jQuery is present, JsRender loads as a jQuery plugin and adds `$.views`, `$

#### Using JsRender without jQuery

When jQuery is not present, JsRender provides its own `jsrender` namespace object, exposed as `window.jsrender`
When jQuery is not present, JsRender provides its own global namespace object: `jsrender` (or `window.jsrender`)

The `jsrender` namespace provides the same methods/APIs as with jQuery, so if jQuery is not present you can still use all the API examples, by simply writing:

@@ -49,6 +51,7 @@ var $ = window.jsrender;

// Now use code as in samples/examples, with $.views... $.templates... $.render...
```
(*Note:* If jQuery is not loaded, then [passing a jQuery selector](http://www.jsviews.com/#compiletmpl@fromscriptblock) to `$.templates()` will only work for the *ID selector*)

*Example HTML page:* [JsRender without jQuery](http://www.jsviews.com/#download/pages-jsr)

@@ -83,10 +86,10 @@ Name: {{:name}}
then, somewhere in your script:

```js
var tmpl = $.templates("#myTemplate");
var tmpl = $.templates("#myTemplate"); // Pass in a jQuery selector for the script block
```

On Node.js, from an .html file containing the template markup:
On Node.js, [from an .html file](https://www.jsviews.com/#jsr-node-quickstart@htmlfiles) containing the template markup:

```js
var $ = require('jsrender'); // returns the jsrender namespace object
6 changes: 6 additions & 0 deletions demos/demos.html
Original file line number Diff line number Diff line change
@@ -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>
4 changes: 2 additions & 2 deletions demos/index.html
Original file line number Diff line number Diff line change
@@ -34,9 +34,9 @@ <h3>Demos</h3>

<div class="box">
<div class="desc">JsViews are interactive data-driven views, built on top of JsRender templates</div>
<div class="subhead"><b><a href="http://borismoore.github.com/jsviews/demos/index.html">JsViews: Demos</a></b></div>
<div class="subhead"><b><a href="http://borismoore.github.io/jsviews/demos/index.html">JsViews: Demos</a></b></div>
<div class="label">JsViews and JsRender Overview:</div>
<div class="subhead"><b><a href="http://borismoore.github.com/jsviews/demos/jQueryConfDemosOct2011/index.html" >Demo sequence from jQuery Conference October 2011</a></b></div>
<div class="subhead"><b><a href="http://borismoore.github.io/jsviews/demos/jQueryConfDemosOct2011/index.html" >Demo sequence from jQuery Conference October 2011</a></b></div>
</div>

<div class="subhead">Other links:</div>
2 changes: 1 addition & 1 deletion demos/scenarios/01_default-values-scenario.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/scenarios/02_separators-scenario.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jquery-1.8.0.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
2 changes: 1 addition & 1 deletion demos/scenarios/03_iterating-through-fields-scenario.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/scenarios/04_assigning-variables-scenario.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/scenarios/05_arrays-plus-headers-and-footers.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/01_inserting-data.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
</head>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/03_converters-and-encoding.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/04_if-else-tag.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/05_for-tag.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/06_template-composition.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/07_paths.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
</head>
2 changes: 1 addition & 1 deletion demos/step-by-step/08_custom-tags.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/09_helper-functions.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/10_comparison-tests.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/11_accessing-parent-data.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

2 changes: 1 addition & 1 deletion demos/step-by-step/12_passing-in-context.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../jsrender.js" type="text/javascript"></script>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../../jsrender.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../../jsrender.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../../jsrender.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../../jsrender.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.2.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../../jsrender.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -10,7 +10,8 @@ gulp.task('bundle', function() {
var tmplify = require('./tmplify');
var gs = require('glob-stream');

return gs.create('./test/browserify/*-unit-tests.js')
// return gs.create('./test/browserify/*-unit-tests.js')
return gs('./test/browserify/*-unit-tests.js')
.on('data', function(file) {
// file has path, base, and cwd attrs
var fileName = file.path.slice(file.base.length, -14);
Loading