Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Giriş Yap
jan
/
mustache.js
şunun yansıması
https://github.com/janl/mustache.js
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
0
Sürümler
46
Wiki
Aktivite
Kaynağa Gözat
Merge pull request
#380
from skybet/section-with-length-property
Section with "length" property
tags/v1.0.0
David da Silva Contín
11 yıl önce
ebeveyn
77a7ab344c
d9aa703014
işleme
85e43f97d8
4 değiştirilmiş dosya
ile
6 ekleme
ve
1 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+1
-1
mustache.js
+3
-0
test/_files/bug_length_property.js
+1
-0
test/_files/bug_length_property.mustache
+1
-0
test/_files/bug_length_property.txt
+ 1
- 1
mustache.js
Dosyayı Görüntüle
@@ -368,7 +368,7 @@
while (value != null && index < names.length)
value = value[names[index++]];
} else {
} else
if (typeof context.view == 'object')
{
value = context.view[name];
}
+ 3
- 0
test/_files/bug_length_property.js
Dosyayı Görüntüle
@@ -0,0 +1,3 @@
({
length: 'hello'
})
+ 1
- 0
test/_files/bug_length_property.mustache
Dosyayı Görüntüle
@@ -0,0 +1 @@
{{#length}}The length variable is: {{length}}{{/length}}
+ 1
- 0
test/_files/bug_length_property.txt
Dosyayı Görüntüle
@@ -0,0 +1 @@
The length variable is: hello
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet