Kaynağa Gözat

fix test case

tags/0.2.3
Jan Lehnardt 16 yıl önce
ebeveyn
işleme
272fd0fc1f
2 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. +4
    -1
      mustache.js
  2. +1
    -1
      test/mustache_spec.rb

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

@@ -154,7 +154,10 @@ var Mustache = function() {
this.send(lines[i]);
}
}
return lines.join("\n");

if(in_recursion) {
return lines.join("\n");
}
},

set_delimiters: function(delimiters) {


+ 1
- 1
test/mustache_spec.rb Dosyayı Görüntüle

@@ -126,7 +126,7 @@ describe "mustache" do
chunks.push(chunk);
}
}
Mustache.to_html(template, partial_context, partials, null, sendFun);
Mustache.to_html(template, partial_context, partials, sendFun);
print(chunks.join("\\n"));
} catch(e) {
print('ERROR: ' + e.message);


Yükleniyor…
İptal
Kaydet