mustache-js-rails 4.1.0.2 → 4.1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/mustache-js-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.mustache.js +5 -5
- data/vendor/assets/javascripts/mustache.js +704 -695
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0169d63b9385376567ac9b0333170787e7bf78661489f432c0cde7a20bc0563
|
4
|
+
data.tar.gz: 3696342c08550960d2c3cfdbd18c42ee942ada2b8b2f39f217170c5e33777389
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acfd311ca6c4642d00c9b6364215d4ec49b1ba214e9eaccc1dae6efd84353d3e497ab4a35cdf5d3c6a2dd0dc4f42cbff3a6c1b0f31c3e04d9e812fae5a1f2c47
|
7
|
+
data.tar.gz: c82b536dd1ae0ac5505bec8b0bd6a866cacd37b8ada4c515b9e4fb8c25710eec0856122d19663155c9bd7f1e2ee651994da0852f12bc707a36ee06982495f783
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ and [mustache jQuery integration](https://github.com/jonnyreeves/jquery-Mustache
|
|
9
9
|
|
10
10
|
Integrated versions are:
|
11
11
|
|
12
|
-
* mustache.js - <b id="mustache-js-version">4.
|
12
|
+
* mustache.js - <b id="mustache-js-version">4.1.0</b>
|
13
13
|
* jQuery mustache - <b id="jquery-mustache-js-version">0.2.8</b>
|
14
14
|
|
15
15
|
### Installation
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/*! jQuery Mustache - v0.2.8 -
|
1
|
+
/*! jQuery Mustache - v0.2.8 - 2021-06-14
|
2
2
|
* https://github.com/jonnyreeves/jquery-Mustache
|
3
|
-
* Copyright (c)
|
3
|
+
* Copyright (c) 2021 Jonny Reeves; Licensed MIT */
|
4
4
|
|
5
5
|
/*global jQuery, window */
|
6
6
|
(function ($, window) {
|
@@ -64,8 +64,8 @@
|
|
64
64
|
* Adds one or more tempaltes from the DOM using either the supplied templateElementIds or by retrieving all script
|
65
65
|
* tags of the 'domTemplateType'. Templates added in this fashion will be registered with their elementId value.
|
66
66
|
*
|
67
|
-
* @param [...templateElementIds] List of element id's present on the DOM which contain templates to be added;
|
68
|
-
* if none are supplied all script tags that are of the same type as the
|
67
|
+
* @param [...templateElementIds] List of element id's present on the DOM which contain templates to be added;
|
68
|
+
* if none are supplied all script tags that are of the same type as the
|
69
69
|
* `options.domTemplateType` configuration value will be added.
|
70
70
|
*/
|
71
71
|
function addFromDom() {
|
@@ -124,7 +124,7 @@
|
|
124
124
|
}
|
125
125
|
return '';
|
126
126
|
}
|
127
|
-
return getMustache().
|
127
|
+
return getMustache().render(templateMap[templateName], templateData, templateMap);
|
128
128
|
}
|
129
129
|
|
130
130
|
/**
|