mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Delete actual.json files out of source control
This commit is contained in:
parent
c78076f877
commit
cb1d2b507e
@ -1,16 +0,0 @@
|
||||
{
|
||||
"type": "TemplateRoot",
|
||||
"body": [
|
||||
{
|
||||
"type": "Assignment",
|
||||
"left": "a",
|
||||
"right": "1"
|
||||
}
|
||||
],
|
||||
"staticVars": {
|
||||
"str": "__helpers.s",
|
||||
"empty": "__helpers.e",
|
||||
"notEmpty": "__helpers.ne",
|
||||
"escapeXml": "__helpers.x"
|
||||
}
|
||||
}
|
||||
@ -1,135 +0,0 @@
|
||||
{
|
||||
"type": "TemplateRoot",
|
||||
"body": [
|
||||
{
|
||||
"type": "FunctionDeclaration",
|
||||
"name": "create",
|
||||
"params": [
|
||||
"__helpers"
|
||||
],
|
||||
"body": [
|
||||
{
|
||||
"type": "Vars",
|
||||
"kind": "var",
|
||||
"declarations": [
|
||||
{
|
||||
"id": "str",
|
||||
"init": "__helpers.s"
|
||||
},
|
||||
{
|
||||
"id": "empty",
|
||||
"init": "__helpers.e"
|
||||
},
|
||||
{
|
||||
"id": "notEmpty",
|
||||
"init": "__helpers.ne"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Return",
|
||||
"argument": {
|
||||
"type": "FunctionDeclaration",
|
||||
"name": "render",
|
||||
"params": [
|
||||
"data",
|
||||
"out"
|
||||
],
|
||||
"body": [
|
||||
{
|
||||
"type": "TextOutput",
|
||||
"argument": {
|
||||
"type": "Literal",
|
||||
"value": "Hello"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "HtmlOutput",
|
||||
"argument": "data.name"
|
||||
},
|
||||
{
|
||||
"type": "TextOutput",
|
||||
"argument": {
|
||||
"type": "Literal",
|
||||
"value": "!"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "If",
|
||||
"test": {
|
||||
"type": "FunctionCall",
|
||||
"callee": "notEmpty",
|
||||
"args": [
|
||||
"data.colors"
|
||||
]
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"type": "HtmlElement",
|
||||
"tagName": "ul",
|
||||
"_attributes": [
|
||||
{
|
||||
"name": "class",
|
||||
"value": {
|
||||
"type": "Literal",
|
||||
"value": "colors"
|
||||
}
|
||||
}
|
||||
],
|
||||
"body": [
|
||||
{
|
||||
"type": "FunctionCall",
|
||||
"callee": "forEach",
|
||||
"args": [
|
||||
"data.colors",
|
||||
{
|
||||
"type": "FunctionDeclaration",
|
||||
"name": null,
|
||||
"params": [
|
||||
"color"
|
||||
],
|
||||
"body": [
|
||||
{
|
||||
"type": "HtmlElement",
|
||||
"tagName": "li",
|
||||
"_attributes": [
|
||||
{
|
||||
"name": "class",
|
||||
"value": {
|
||||
"type": "Literal",
|
||||
"value": "color"
|
||||
}
|
||||
}
|
||||
],
|
||||
"body": [
|
||||
{
|
||||
"type": "TextOutput",
|
||||
"argument": "color"
|
||||
}
|
||||
],
|
||||
"allowSelfClosing": false,
|
||||
"startTagOnly": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"allowSelfClosing": false,
|
||||
"startTagOnly": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"staticVars": {
|
||||
"str": "__helpers.s",
|
||||
"empty": "__helpers.e",
|
||||
"notEmpty": "__helpers.ne",
|
||||
"escapeXml": "__helpers.x"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user