| @@ -100,7 +100,7 @@ var Mustache = function() { | |||||
| return that.map(value, function(row) { | return that.map(value, function(row) { | ||||
| return that.render(content, that.merge(context, | return that.render(content, that.merge(context, | ||||
| that.create_context(row)), partials, true); | that.create_context(row)), partials, true); | ||||
| }).join(''); | |||||
| }).join(""); | |||||
| } else if(value) { // boolean section | } else if(value) { // boolean section | ||||
| return that.render(content, context, partials, true); | return that.render(content, context, partials, true); | ||||
| } else { | } else { | ||||
| @@ -233,7 +233,7 @@ var Mustache = function() { | |||||
| }, | }, | ||||
| is_object: function(a) { | is_object: function(a) { | ||||
| return a && typeof a == 'object' | |||||
| return a && typeof a == "object" | |||||
| }, | }, | ||||
| /* | /* | ||||
| @@ -243,7 +243,7 @@ var Mustache = function() { | |||||
| */ | */ | ||||
| is_array: function(a) { | is_array: function(a) { | ||||
| return (a && | return (a && | ||||
| typeof a === 'object' && | |||||
| typeof a === "object" && | |||||
| a.constructor === Array); | a.constructor === Array); | ||||
| }, | }, | ||||
| @@ -251,7 +251,7 @@ var Mustache = function() { | |||||
| Gets rid of leading and trailing whitespace | Gets rid of leading and trailing whitespace | ||||
| */ | */ | ||||
| trim: function(s) { | trim: function(s) { | ||||
| return s.replace(/^\s*|\s*$/g, ''); | |||||
| return s.replace(/^\s*|\s*$/g, ""); | |||||
| }, | }, | ||||
| /* | /* | ||||