Przeglądaj źródła

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

parser-rewrite
nathan@stravinsky.local 16 lat temu
rodzic
commit
eaf6373e30
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Wyświetl plik

@@ -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 = {}


Ładowanie…
Anuluj
Zapisz