mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-08-06 04:28:34 +00:00
update
This commit is contained in:
13
node_modules/mustache/wrappers/jquery/mustache.js.post
generated
vendored
Normal file
13
node_modules/mustache/wrappers/jquery/mustache.js.post
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
$.mustache = function (template, view, partials) {
|
||||
return Mustache.render(template, view, partials);
|
||||
};
|
||||
|
||||
$.fn.mustache = function (view, partials) {
|
||||
return $(this).map(function (i, elm) {
|
||||
var template = $.trim($(elm).html());
|
||||
var output = $.mustache(template, view, partials);
|
||||
return $(output).get();
|
||||
});
|
||||
};
|
||||
|
||||
})(jQuery);
|
9
node_modules/mustache/wrappers/jquery/mustache.js.pre
generated
vendored
Normal file
9
node_modules/mustache/wrappers/jquery/mustache.js.pre
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Shameless port of a shameless port
|
||||
@defunkt => @janl => @aq
|
||||
|
||||
See http://github.com/defunkt/mustache for more info.
|
||||
*/
|
||||
|
||||
;(function($) {
|
||||
|
Reference in New Issue
Block a user