|
|
@@ -448,7 +448,7 @@ var Mustache = (typeof module !== "undefined" && module.exports) || {}; |
|
|
|
|
|
|
|
|
// Strips all whitespace tokens array for the current line |
|
|
// Strips all whitespace tokens array for the current line |
|
|
// if there was a {{#tag}} on it and otherwise only space. |
|
|
// if there was a {{#tag}} on it and otherwise only space. |
|
|
function stripSpace() { |
|
|
|
|
|
|
|
|
var stripSpace = function () { |
|
|
if (hasTag && !nonSpace) { |
|
|
if (hasTag && !nonSpace) { |
|
|
while (spaces.length) { |
|
|
while (spaces.length) { |
|
|
tokens.splice(spaces.pop(), 1); |
|
|
tokens.splice(spaces.pop(), 1); |
|
|
@@ -459,7 +459,7 @@ var Mustache = (typeof module !== "undefined" && module.exports) || {}; |
|
|
|
|
|
|
|
|
hasTag = false; |
|
|
hasTag = false; |
|
|
nonSpace = false; |
|
|
nonSpace = false; |
|
|
} |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
var type, value, chr; |
|
|
var type, value, chr; |
|
|
|
|
|
|
|
|
|