Parcourir la source

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

parser-rewrite
nathan@stravinsky.local il y a 16 ans
Parent
révision
eaf6373e30
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Voir le fichier

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


Chargement…
Annuler
Enregistrer