This website works better with JavaScript.
Начало
Каталог
Помощ
Вход
jan
/
mustache.js
огледало от
https://github.com/janl/mustache.js
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
0
Версии
46
Уики
Activity
Преглед на файлове
Merge pull request
#380
from skybet/section-with-length-property
Section with "length" property
tags/v1.0.0
David da Silva Contín
преди 11 години
родител
77a7ab344c
d9aa703014
ревизия
85e43f97d8
променени са
4 файла
, в които са
добавени 6
реда и са
изтрити 1
реда
Разделен изглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Целия файл
@@ -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
Целия файл
@@ -0,0 +1,3 @@
({
length: 'hello'
})
+ 1
- 0
test/_files/bug_length_property.mustache
Целия файл
@@ -0,0 +1 @@
{{#length}}The length variable is: {{length}}{{/length}}
+ 1
- 0
test/_files/bug_length_property.txt
Целия файл
@@ -0,0 +1 @@
The length variable is: hello
Write
Preview
Loading…
Отказ
Запис