Просмотр исходного кода

Merge pull request #106 from thegrandpoobah/issue105

Fixes issue 105
tags/0.4.0
Jan Lehnardt 15 лет назад
Родитель
Сommit
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:


Загрузка…
Отмена
Сохранить