Przeglądaj źródła

Support for partial paths (fixes #91)

Uses the work done by @nateware in pull request 92. Thanks!
tags/0.4.0
Michael Jackson 14 lat temu
rodzic
commit
bf95689f42
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Wyświetl plik

@@ -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");
});
};



Ładowanie…
Anuluj
Zapisz