Skip to content

Commit

Permalink
v1.0.13 release
Browse files Browse the repository at this point in the history
This update contains a minor bug fix:
#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
  • Loading branch information
BorisMoore committed Apr 1, 2023
1 parent 91ea2c9 commit eb8b019
Show file tree
Hide file tree
Showing 69 changed files with 180 additions and 176 deletions.
2 changes: 1 addition & 1 deletion demos/features/observability/computed-data-prototype.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script src="../../resources/syntaxhighlighter.min.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../../jquery.observable.js" type="text/javascript"></script>
<script src="../../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/features/observability/computed-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script src="../../resources/syntaxhighlighter.min.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../../jquery.observable.js" type="text/javascript"></script>
<script src="../../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/features/observability/computed-helper.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script src="../../resources/syntaxhighlighter.min.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../../jquery.observable.js" type="text/javascript"></script>
<script src="../../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/features/observability/observing-paths.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../../resources/syntaxhighlighter.min.js" type="text/javascript"></script>
<link href="../../resources/demos.css" rel="stylesheet" type="text/css" />
<script src="//code.jquery.com/jquery-3.6.1.js" type="text/javascript"></script>
<script src="//code.jquery.com/jquery-3.6.4.js" type="text/javascript"></script>
<script src="../../../jsviews.js" type="text/javascript"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/01_render-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/02_compiled-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/03_named-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/04_data-array.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/05_input.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/06_data-binding.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/06_data-binding2.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/07_observable.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/07_observable2.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/07_observable3.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/08_for-tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/09_for-composition.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/10_if-else-tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/11_editable-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<link href="../resources/demos.css" rel="stylesheet" type="text/css" />
<link href="../resources/masterdetail2.css" rel="stylesheet" type="text/css" />
<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/12_helper-functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/13_converters.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/14_custom-tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="../resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
<script src="../resources/syntaxhighlighter.min.js" type="text/javascript"></script>

<script src="//code.jquery.com/jquery-3.6.1.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>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/step-by-step/01_rendering-and-linking.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/step-by-step/03_top-level-linking.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/step-by-step/04_form-elements_if-binding.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/step-by-step/06_accordion_switching-template.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion demos/step-by-step/10_todos.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html>
<head>
<title>JsViews Demo: Todos</title>
<script src="//code.jquery.com/jquery-3.6.1.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>
<script src="../../jquery.observable.js" type="text/javascript"></script>
<script src="../../jquery.views.js" type="text/javascript"></script>
Expand Down
6 changes: 3 additions & 3 deletions jquery.observable.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*! JsObservable v1.0.12: http://jsviews.com/#jsobservable */
/*! JsObservable v1.0.13: http://jsviews.com/#jsobservable */
/*
* Subcomponent of JsViews
* Data change events for data-linking
*
* Copyright 2021, Boris Moore
* Copyright 2023, Boris Moore
* Released under the MIT License.
*/

Expand Down Expand Up @@ -44,7 +44,7 @@ if (!$ || !$.fn) {
throw "jquery.observable.js requires jQuery"; // We require jQuery
}

var versionNumber = "v1.0.12",
var versionNumber = "v1.0.13",
_ocp = "_ocp", // Observable contextual parameter
$observe, $observable,

Expand Down
Loading

0 comments on commit eb8b019

Please sign in to comment.