rizzo-next
Version:
The next generation of Lonely Planet's style guide and pattern library.
677 lines • 20.5 kB
JSON
{
"type": "Program",
"start": 0,
"end": 180,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 10,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 39
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 13
}
},
"name": "Arkham"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 19,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 38
}
},
"value": "../../core/arkham",
"rawValue": "../../core/arkham",
"raw": "\"../../core/arkham\""
}
},
{
"type": "Identifier",
"start": 41,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 7,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 45,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 7,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 45,
"end": 62,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 21
}
},
"name": "NavigationActions"
},
"init": {
"type": "ObjectExpression",
"start": 65,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 7,
"column": 1
}
},
"properties": [
{
"type": "Property",
"start": 69,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 6,
"column": 3
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 69,
"end": 77,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 10
}
},
"name": "clickNav"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 79,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 6,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 80,
"end": 84,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
}
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 89,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 6,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 95,
"end": 136,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 95,
"end": 135,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 95,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 95,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 10
}
},
"name": "Arkham"
},
"property": {
"type": "Identifier",
"start": 102,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 5,
"column": 18
}
},
"name": "trigger"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 110,
"end": 128,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 37
}
},
"value": "navigation.click",
"rawValue": "navigation.click",
"raw": "\"navigation.click\""
},
{
"type": "Identifier",
"start": 130,
"end": 134,
"loc": {
"start": {
"line": 5,
"column": 39
},
"end": {
"line": 5,
"column": 43
}
},
"name": "data"
}
]
}
}
]
}
},
"kind": "init"
}
]
}
}
],
"kind": "let",
"name": "_",
"leadingComments": [],
"trailingComments": []
},
{
"type": "Identifier",
"start": 146,
"end": 179,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 33
}
},
"declaration": {
"type": "Identifier",
"start": 161,
"end": 178,
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 9,
"column": 32
}
},
"name": "NavigationActions"
},
"name": "_",
"leadingComments": [],
"trailingComments": []
},
{
"type": "ExportDefaultDeclaration",
"start": 146,
"end": 179,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 33
}
},
"declaration": {
"type": "VariableDeclaration",
"start": 41,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 7,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 45,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 7,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 45,
"end": 62,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 21
}
},
"name": "NavigationActions"
},
"init": {
"type": "ObjectExpression",
"start": 65,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 7,
"column": 1
}
},
"properties": [
{
"type": "Property",
"start": 69,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 6,
"column": 3
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 69,
"end": 77,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 10
}
},
"name": "clickNav"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 79,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 6,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 80,
"end": 84,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
}
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 89,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 6,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 95,
"end": 136,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 95,
"end": 135,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 95,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 95,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 10
}
},
"name": "Arkham"
},
"property": {
"type": "Identifier",
"start": 102,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 5,
"column": 18
}
},
"name": "trigger"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 110,
"end": 128,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 37
}
},
"value": "navigation.click",
"rawValue": "navigation.click",
"raw": "\"navigation.click\""
},
{
"type": "Identifier",
"start": 130,
"end": 134,
"loc": {
"start": {
"line": 5,
"column": 39
},
"end": {
"line": 5,
"column": 43
}
},
"name": "data"
}
]
}
}
]
}
},
"kind": "init"
}
]
}
}
],
"kind": "let",
"leadingComments": [],
"trailingComments": []
}
}
]
}