Przeglądaj źródła

Merge pull request #106 from thegrandpoobah/issue105

Fixes issue 105
tags/0.4.0
Jan Lehnardt 15 lat temu
rodzic
commit
1f922fb6f3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Wyświetl plik

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

var that = this;
var regex = new RegExp(this.otag + "%([\\w-]+) ?([\\w]+=[\\w]+)?" +
this.ctag);
this.ctag, "g");
return template.replace(regex, function(match, pragma, options) {
if(!that.pragmas_implemented[pragma]) {
throw({message:


Ładowanie…
Anuluj
Zapisz