Kaynağa Gözat

making it more dojo'y, and live in the 'proper' namespace

tags/0.5.0-vsc
Peter Higgins Jan Lehnardt <jan@apache.org> 16 yıl önce
ebeveyn
işleme
faaeaf22af
2 değiştirilmiş dosya ile 5 ekleme ve 6 silme
  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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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(){

Yükleniyor…
İptal
Kaydet