浏览代码

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


正在加载...
取消
保存