Procházet zdrojové kódy

enable partials in dojo & jQuery packages

tags/0.2.1
Jan Lehnardt před 16 roky
rodič
revize
66db0f390e
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. +2
    -2
      mustache-dojo/mustache.js.tpl.post
  2. +2
    -2
      mustache-jquery/jquery.mustache.js.tpl.post

+ 2
- 2
mustache-dojo/mustache.js.tpl.post Zobrazit soubor

@@ -1,5 +1,5 @@


d.mustache = function(template, view) {
return Mustache.to_html(template, view);
d.mustache = function(template, view, partials) {
return Mustache.to_html(template, view, partials);
}; };
})(dojo); })(dojo);

+ 2
- 2
mustache-jquery/jquery.mustache.js.tpl.post Zobrazit soubor

@@ -1,6 +1,6 @@


$.mustache = function(template, view) {
return Mustache.to_html(template, view);
$.mustache = function(template, view, partials) {
return Mustache.to_html(template, view, partials);
}; };


})(jQuery); })(jQuery);

Načítá se…
Zrušit
Uložit