From 2ff0ce7767c9ad3cad7370ad8b252fe3cb939c58 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Thu, 4 Feb 2010 11:08:50 -0800 Subject: [PATCH] whitespace --- mustache.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mustache.js b/mustache.js index b8ea29d..f090852 100644 --- a/mustache.js +++ b/mustache.js @@ -1,10 +1,11 @@ /* Shamless port of http://github.com/defunkt/mustache - by Jan Lehnardt , Alexander Lang , + by Jan Lehnardt , + Alexander Lang , Sebastian Cohnen 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)