Sfoglia il codice sorgente

Merge pull request #106 from thegrandpoobah/issue105

Fixes issue 105
tags/0.4.0
Jan Lehnardt 15 anni fa
parent
commit
1f922fb6f3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Vedi File

@@ -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:


Loading…
Annulla
Salva