Преглед изворни кода

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

Loading…
Откажи
Сачувај