mustache-js-rails 4.1.0.2 → 4.1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3702b1d6ab853adde07ba099600be7086d949ea394e8edf88907ddb90ce79b9
4
- data.tar.gz: 0f3585fb8621e4e2dfc6718578b3476c5bc3c9ba9c3caf4285872595ea38c948
3
+ metadata.gz: b0169d63b9385376567ac9b0333170787e7bf78661489f432c0cde7a20bc0563
4
+ data.tar.gz: 3696342c08550960d2c3cfdbd18c42ee942ada2b8b2f39f217170c5e33777389
5
5
  SHA512:
6
- metadata.gz: a7aa1fcc8ac275d58898f4fa1eaa2dde12aabc3d3866a9ae6b482cfa57739361dfc764ff61dc4134e26774b709b307832ecc539c3e22592eb5edfc9cd91c4a69
7
- data.tar.gz: 225da1502751533c1b99879b1f37db287a787d49185303cdc2305eee8ba2ab5db7f038140a9dfbd56b8647362bbce1bdc7d3cfff4ed83c2f69852c71e41cc814
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.2.0</b>
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,3 +1,3 @@
1
1
  module MustacheJsRails
2
- VERSION = "4.1.0.2"
2
+ VERSION = "4.1.0.4"
3
3
  end
@@ -1,6 +1,6 @@
1
- /*! jQuery Mustache - v0.2.8 - 2013-06-23
1
+ /*! jQuery Mustache - v0.2.8 - 2021-06-14
2
2
  * https://github.com/jonnyreeves/jquery-Mustache
3
- * Copyright (c) 2013 Jonny Reeves; Licensed MIT */
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().to_html(templateMap[templateName], templateData, templateMap);
127
+ return getMustache().render(templateMap[templateName], templateData, templateMap);
128
128
  }
129
129
 
130
130
  /**