Bladeren bron

Merge branch 'master' of github.com:janl/mustache.js

* 'master' of github.com:janl/mustache.js:
  making it more dojo'y, and live in the 'proper' namespace
tags/0.5.0-vsc
Jan Lehnardt 16 jaren geleden
bovenliggende
commit
c0273b74b7
2 gewijzigde bestanden met toevoegingen van 5 en 6 verwijderingen
  1. +3
    -4
      mustache-dojo/mustache.js.tpl.post
  2. +2
    -2
      mustache-dojo/mustache.js.tpl.pre

+ 3
- 4
mustache-dojo/mustache.js.tpl.post Bestand weergeven

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


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

})();

+ 2
- 2
mustache-dojo/mustache.js.tpl.pre Bestand weergeven

@@ -5,5 +5,5 @@ Shameless port of a shameless port
See http://github.com/defunkt/mustache for more info. See http://github.com/defunkt/mustache for more info.
*/ */


dojo.provide("dojox.string.mustache");
;(function(d) {
dojo.provide("dojox.mustache._base");
(function(){

Laden…
Annuleren
Opslaan