ソースを参照

Merge branch 'master' into movember

tags/0.4.0
Ben Cherry 15年前
コミット
ccd5c8ef40
6個のファイルの変更27行の追加0行の削除
  1. +2
    -0
      Rakefile
  2. +5
    -0
      examples/nesting.html
  3. +7
    -0
      examples/nesting.js
  4. +4
    -0
      examples/nesting.txt
  5. +3
    -0
      mustache-requirejs/requirejs.mustache.js.tpl.post
  6. +6
    -0
      mustache-requirejs/requirejs.mustache.js.tpl.pre

+ 2
- 0
Rakefile ファイルの表示

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


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


+ 5
- 0
examples/nesting.html ファイルの表示

@@ -0,0 +1,5 @@
{{#foo}}
{{#a}}
{{b}}
{{/a}}
{{/foo}}

+ 7
- 0
examples/nesting.js ファイルの表示

@@ -0,0 +1,7 @@
var nesting = {
foo: [
{a: {b: 1}},
{a: {b: 2}},
{a: {b: 3}}
]
};

+ 4
- 0
examples/nesting.txt ファイルの表示

@@ -0,0 +1,4 @@
1
2
3

+ 3
- 0
mustache-requirejs/requirejs.mustache.js.tpl.post ファイルの表示

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

return Mustache;
});

+ 6
- 0
mustache-requirejs/requirejs.mustache.js.tpl.pre ファイルの表示

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

読み込み中…
キャンセル
保存