Skip to content

Commit 3c0b14b

Browse files
committed
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...
1 parent 28dedcf commit 3c0b14b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1914
-1236
lines changed

demos/scenarios/01_default-values-scenario.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/scenarios/02_separators-scenario.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jquery-1.8.0.js" type="text/javascript"></script>
66
<script src="../../jsrender.js" type="text/javascript"></script>
77
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />

demos/scenarios/03_iterating-through-fields-scenario.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/scenarios/04_assigning-variables-scenario.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/scenarios/05_arrays-plus-headers-and-footers.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/01_inserting-data.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77
</head>

demos/step-by-step/02_compiling-named-templates-from-strings.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/03_converters-and-encoding.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/04_if-else-tag.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/05_for-tag.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/06_template-composition.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/07_paths.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77
</head>

demos/step-by-step/08_custom-tags.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/09_helper-functions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/10_comparison-tests.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/11_accessing-parent-data.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/12_passing-in-context.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/step-by-step/13_associating-helpers-with-templates.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../jsrender.js" type="text/javascript"></script>
66
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/variants/accessing-templates/01_compiling-template-objects-from-strings.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../../jsrender.js" type="text/javascript"></script>
66
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/variants/accessing-templates/02_registering-named-template-from-script-declaration.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../../jsrender.js" type="text/javascript"></script>
66
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/variants/accessing-templates/03_getting-template-objects-from-script-declaration.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../../jsrender.js" type="text/javascript"></script>
66
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/variants/accessing-templates/04_template-composition-subtemplates.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../../jsrender.js" type="text/javascript"></script>
66
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />
77

demos/variants/accessing-templates/05_template-composition-templateobjects.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<script src="http://code.jquery.com/jquery-3.4.1.js" type="text/javascript"></script>
4+
<script src="http://code.jquery.com/jquery-3.5.1.js" type="text/javascript"></script>
55
<script src="../../../jsrender.js" type="text/javascript"></script>
66
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />
77

0 commit comments

Comments
 (0)