Browse Source

whitespace

tags/0.2.2
Jan Lehnardt 16 years ago
parent
commit
2ff0ce7767
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      mustache.js

+ 6
- 5
mustache.js View File

@@ -1,10 +1,11 @@
/*
Shamless port of http://github.com/defunkt/mustache
by Jan Lehnardt <jan@apache.org>, Alexander Lang <alex@upstream-berlin.com>,
by Jan Lehnardt <jan@apache.org>,
Alexander Lang <alex@upstream-berlin.com>,
Sebastian Cohnen <sebastian.cohnen@googlemail.com>

Thanks @defunkt for the awesome code.
See http://github.com/defunkt/mustache for more info.
*/

@@ -68,7 +69,7 @@ var Mustache = function() {
});
},

/*
/*
Tries to find a partial in the global scope and render it
*/
render_partial: function(name, context, partials) {
@@ -168,7 +169,7 @@ var Mustache = function() {
},

/*
find `name` in current `context`. That is find me a value
find `name` in current `context`. That is find me a value
from the view object
*/
find: function(name, context) {
@@ -256,7 +257,7 @@ var Mustache = function() {

/*
Why, why, why? Because IE. Cry, cry cry.
*/
*/
map: function(array, fn) {
if (typeof array.map == "function") {
return array.map(fn)


Loading…
Cancel
Save