Преглед изворни кода

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

parser-rewrite
nathan@stravinsky.local пре 16 година
родитељ
комит
eaf6373e30
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Прегледај датотеку

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


Loading…
Откажи
Сачувај