janl/mustache.js — Issue #155: Mustache.js:288 --> ReferenceError: file is not defined
Author: awvalenti
Created: 2012-01-22 19:32:37+00:00
State: open

File Mustache.js:

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

Small mistake on line 288: it should be "options.file" instead of "file". Changed here and worked.