Parcourir la source

Fixes #155

tags/0.5.1
Michael Jackson il y a 14 ans
Parent
révision
b603a10812
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Voir le fichier

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


Chargement…
Annuler
Enregistrer