Skip to content

Commit 1eb3c85

Browse files
committed
Use alexis-renard fork with to_html fix
Temporary change until jonnyreeves/jquery-Mustache#43 is merged. This updates the submodule dependency and also manually updates the vendored copy of `jquery.mustache.js`: `jquery.mustache.js/src/jquery.mustache.js` has the `.to_html` change but `jquery.mustache.js/jquery.mustache.js` has not been regenerated and so we can't use `rake` to update the vendored assets.
1 parent 5cd7f0c commit 1eb3c85

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
ignore = dirty
55
[submodule "jquery.mustache.js"]
66
path = jquery.mustache.js
7-
url = [email protected]:jonnyreeves/jquery-Mustache.git
7+
url = [email protected]:alexis-renard/jquery-Mustache.git

vendor/assets/javascripts/jquery.mustache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
}
125125
return '';
126126
}
127-
return getMustache().to_html(templateMap[templateName], templateData, templateMap);
127+
return getMustache().render(templateMap[templateName], templateData, templateMap);
128128
}
129129

130130
/**

0 commit comments

Comments
 (0)