Selaa lähdekoodia

Make exception a little more user friendly.

tags/0.5.0-vsc
Sahab Yazdani 15 vuotta sitten
vanhempi
commit
4ce9029420
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Näytä tiedosto

@@ -543,7 +543,7 @@ var Mustache = (function(undefined) {
delete state.section;
state.parser = default_parser;
} else {
throw new Error('Unexpected section end tag. Expected: ' + state.section.variable);
throw new Error('Unexpected section end tag "' + variable + '". Expected: ' + state.section.variable);
}
}


Loading…
Peruuta
Tallenna