Browse Source

Fixes #155

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

+ 1
- 1
mustache.js View File

@@ -285,7 +285,7 @@ var Mustache = (typeof module !== "undefined" && module.exports) || {};
var openName = sectionStack.length != 0 && sectionStack[sectionStack.length - 1].name;

if (!openName || name != openName) {
throw debug(new Error('Section named "' + name + '" was never opened'), template, line, file);
throw debug(new Error('Section named "' + name + '" was never opened'), template, line, options.file);
}

var section = sectionStack.pop();


Loading…
Cancel
Save