Ver código fonte

Make exception a little more user friendly.

tags/0.5.0-vsc
Sahab Yazdani 15 anos atrás
pai
commit
4ce9029420
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver arquivo

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


Carregando…
Cancelar
Salvar