Browse Source

Declare stripSpace with var

tags/0.5.2
Michael Jackson 14 years ago
parent
commit
cae4fd5abe
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js View File

@@ -448,7 +448,7 @@ var Mustache = (typeof module !== "undefined" && module.exports) || {};

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

hasTag = false;
nonSpace = false;
}
};

var type, value, chr;



Loading…
Cancel
Save