ソースを参照

Support for partial paths (fixes #91)

Uses the work done by @nateware in pull request 92. Thanks!
tags/0.4.0
Michael Jackson 14年前
コミット
bf95689f42
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js ファイルの表示

@@ -244,7 +244,7 @@ var Mustache = function () {

var new_regex = function () {
return that.getCachedRegex("render_tags", function (otag, ctag) {
return new RegExp(otag + "(=|!|>|\\{|%)?([^\\/#\\^]+?)\\1?" + ctag + "+", "g");
return new RegExp(otag + "(=|!|>|\\{|%)?([^#\\^]+?)\\1?" + ctag + "+", "g");
});
};



読み込み中…
キャンセル
保存