import
This commit is contained in:
parent
9637d0ec7b
commit
eb98985815
207 changed files with 11155 additions and 0 deletions
19
test/data/lambda/complex.js
Normal file
19
test/data/lambda/complex.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
({
|
||||
header: function () {
|
||||
return "Colors";
|
||||
},
|
||||
item: [
|
||||
{name: "red", current: true, url: "#Red"},
|
||||
{name: "green", current: false, url: "#Green"},
|
||||
{name: "blue", current: false, url: "#Blue"}
|
||||
],
|
||||
link: function () {
|
||||
return this["current"] !== true;
|
||||
},
|
||||
list: function () {
|
||||
return this.item.length !== 0;
|
||||
},
|
||||
empty: function () {
|
||||
return this.item.length === 0;
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue