瀏覽代碼

Fixes #155

tags/0.5.1
Michael Jackson 14 年之前
父節點
當前提交
b603a10812
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js 查看文件

@@ -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…
取消
儲存