Explorar el Código

Support for partial paths (fixes #91)

Uses the work done by @nateware in pull request 92. Thanks!
tags/0.4.0
Michael Jackson hace 14 años
padre
commit
bf95689f42
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver fichero

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



Cargando…
Cancelar
Guardar