Sfoglia il codice sorgente

Added requirejs wrapper

tags/0.5.0-vsc
Tim Ruffles Jan Lehnardt <jan@apache.org> 15 anni fa
parent
commit
faa94ba1d4
3 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. +2
    -0
      Rakefile
  2. +3
    -0
      mustache-requirejs/requirejs.mustache.js.tpl.post
  3. +6
    -0
      mustache-requirejs/requirejs.mustache.js.tpl.pre

+ 2
- 0
Rakefile Vedi File

@@ -44,6 +44,8 @@ templated_build "CommonJS", :location => "lib", :extra => "package.json"
templated_build "jQuery" templated_build "jQuery"
templated_build "Dojo", :location => "dojox/string" templated_build "Dojo", :location => "dojox/string"
templated_build "YUI3", :location => "yui3/mustache" templated_build "YUI3", :location => "yui3/mustache"
templated_build "requirejs"



def version def version
File.read("mustache.js").match('version: "([^\"]+)",$')[1] File.read("mustache.js").match('version: "([^\"]+)",$')[1]


+ 3
- 0
mustache-requirejs/requirejs.mustache.js.tpl.post Vedi File

@@ -0,0 +1,3 @@

return Mustache;
});

+ 6
- 0
mustache-requirejs/requirejs.mustache.js.tpl.pre Vedi File

@@ -0,0 +1,6 @@
/*
Shameless port of a shameless port ^ 2
@defunkt => @janl => @aq => @voodootikigod => @timruffles
*/
define(function(){

Loading…
Annulla
Salva