Kaynağa Gözat

Added missing "var"s

tags/0.2
tlrobinson Jan Lehnardt 16 yıl önce
ebeveyn
işleme
1edff65960
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js Dosyayı Görüntüle

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


// keep context around for recursive calls // 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 // first, render all sections
var html = this.render_section(template); var html = this.render_section(template);
@@ -105,7 +105,7 @@ var Mustache = {
// tit for tat // tit for tat
var that = this; var that = this;


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


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


Yükleniyor…
İptal
Kaydet