浏览代码

Added missing "var"s

tags/0.2
tlrobinson Jan Lehnardt 16 年前
父节点
当前提交
1edff65960
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js 查看文件

@@ -29,7 +29,7 @@ var Mustache = {
}

// keep context around for recursive calls
this.context = context = this.merge((this.context || {}), view);
var context = this.context = this.merge((this.context || {}), view);

// first, render all sections
var html = this.render_section(template);
@@ -105,7 +105,7 @@ var Mustache = {
// tit for tat
var that = this;

regex = new_regex();
var regex = new_regex();
var lines = template;

// for each {{(!<{)?foo}} tag, do...


正在加载...
取消
保存