Przeglądaj źródła

Fixes #155

tags/0.5.1
Michael Jackson 14 lat temu
rodzic
commit
b603a10812
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Wyświetl plik

@@ -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();


Ładowanie…
Anuluj
Zapisz