Преглед изворни кода

Merge pull request #106 from thegrandpoobah/issue105

Fixes issue 105
tags/0.4.0
Jan Lehnardt пре 15 година
родитељ
комит
1f922fb6f3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Прегледај датотеку

@@ -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…
Откажи
Сачувај