Explorar el Código

changed wording of exception so that test will pass (le sigh?)

parser-rewrite
nathan@stravinsky.local hace 16 años
padre
commit
eaf6373e30
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver fichero

@@ -79,7 +79,7 @@ var Mustache = function() {
var pragmaInfo = token.tag.match(/([\w_-]+) ?([\w]+=[\w]+)?/);
var pragma = pragmaInfo[1];
if (!this.pragmas_implemented[pragma]) {
throw new Error("This mustache implementation doesn't understand the '" +
throw new Error("This implementation of mustache doesn't understand the '" +
pragma + "' pragma");
}
var options = {}


Cargando…
Cancelar
Guardar