rizzo-next
Version:
The next generation of Lonely Planet's style guide and pattern library.
1,255 lines • 36.6 kB
JSON
{
"type": "Program",
"start": 0,
"end": 354,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 15,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 35
}
},
"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": "Logger"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 19,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 34
}
},
"value": "./core/logger",
"rawValue": "./core/logger",
"raw": "\"./core/logger\""
}
},
{
"type": "ImportDeclaration",
"start": 36,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 58
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 43,
"end": 60,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 24
}
},
"local": {
"type": "Identifier",
"start": 43,
"end": 60,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 24
}
},
"name": "ComponentRegistry"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 66,
"end": 93,
"loc": {
"start": {
"line": 2,
"column": 30
},
"end": {
"line": 2,
"column": 57
}
},
"value": "./core/component_registry",
"rawValue": "./core/component_registry",
"raw": "\"./core/component_registry\""
}
},
{
"type": "ImportDeclaration",
"start": 95,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 46
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 102,
"end": 113,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 18
}
},
"local": {
"type": "Identifier",
"start": 102,
"end": 113,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 18
}
},
"name": "PerfMonitor"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 119,
"end": 140,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 45
}
},
"value": "./core/perf_monitor",
"rawValue": "./core/perf_monitor",
"raw": "\"./core/perf_monitor\""
}
},
{
"type": "ImportDeclaration",
"start": 142,
"end": 175,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 33
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 149,
"end": 154,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 149,
"end": 154,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 12
}
},
"name": "Rizzo"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 160,
"end": 174,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 32
}
},
"value": "./core/rizzo",
"rawValue": "./core/rizzo",
"raw": "\"./core/rizzo\""
}
},
{
"type": "VariableDeclaration",
"start": 177,
"end": 203,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 181,
"end": 202,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 181,
"end": 187,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 10
}
},
"name": "logger"
},
"init": {
"type": "NewExpression",
"start": 190,
"end": 202,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 25
}
},
"callee": {
"type": "Identifier",
"start": 194,
"end": 200,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 23
}
},
"name": "Logger"
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "Identifier",
"start": 205,
"end": 330,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 209,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 12,
"column": 2
}
},
"id": {
"type": "Identifier",
"start": 209,
"end": 214,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
}
},
"name": "rizzo"
},
"init": {
"type": "AssignmentExpression",
"start": 217,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 12,
"column": 2
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 217,
"end": 229,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 217,
"end": 223,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 18
}
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 224,
"end": 229,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 24
}
},
"name": "rizzo"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 232,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 12,
"column": 2
}
},
"callee": {
"type": "Identifier",
"start": 236,
"end": 241,
"loc": {
"start": {
"line": 8,
"column": 31
},
"end": {
"line": 8,
"column": 36
}
},
"name": "Rizzo"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 242,
"end": 328,
"loc": {
"start": {
"line": 8,
"column": 37
},
"end": {
"line": 12,
"column": 1
}
},
"properties": [
{
"type": "Property",
"start": 246,
"end": 289,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 246,
"end": 254,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 10
}
},
"name": "registry"
},
"value": {
"type": "NewExpression",
"start": 256,
"end": 289,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 260,
"end": 277,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 33
}
},
"name": "ComponentRegistry"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 278,
"end": 288,
"loc": {
"start": {
"line": 9,
"column": 34
},
"end": {
"line": 9,
"column": 44
}
},
"properties": [
{
"type": "Property",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 9,
"column": 36
},
"end": {
"line": 9,
"column": 42
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 9,
"column": 36
},
"end": {
"line": 9,
"column": 42
}
},
"name": "logger"
},
"kind": "init",
"value": {
"type": "Identifier",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 9,
"column": 36
},
"end": {
"line": 9,
"column": 42
}
},
"name": "logger"
}
}
]
}
]
},
"kind": "init"
},
{
"type": "Property",
"start": 293,
"end": 316,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 293,
"end": 297,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 6
}
},
"name": "perf"
},
"value": {
"type": "NewExpression",
"start": 299,
"end": 316,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 25
}
},
"callee": {
"type": "Identifier",
"start": 303,
"end": 314,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 23
}
},
"name": "PerfMonitor"
},
"arguments": []
},
"kind": "init"
},
{
"type": "Property",
"start": 320,
"end": 326,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 8
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 320,
"end": 326,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 8
}
},
"name": "logger"
},
"kind": "init",
"value": {
"type": "Identifier",
"start": 320,
"end": 326,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 8
}
},
"name": "logger"
}
}
]
}
]
}
}
}
],
"kind": "let",
"name": "_",
"leadingComments": [],
"trailingComments": []
},
{
"type": "Identifier",
"start": 332,
"end": 353,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 21
}
},
"declaration": {
"type": "Identifier",
"start": 347,
"end": 352,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 14,
"column": 20
}
},
"name": "rizzo"
},
"name": "_",
"leadingComments": [],
"trailingComments": []
},
{
"type": "ExportDefaultDeclaration",
"start": 332,
"end": 353,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 21
}
},
"declaration": {
"type": "VariableDeclaration",
"start": 205,
"end": 330,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 209,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 12,
"column": 2
}
},
"id": {
"type": "Identifier",
"start": 209,
"end": 214,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
}
},
"name": "rizzo"
},
"init": {
"type": "AssignmentExpression",
"start": 217,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 12,
"column": 2
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 217,
"end": 229,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 217,
"end": 223,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 18
}
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 224,
"end": 229,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 24
}
},
"name": "rizzo"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 232,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 12,
"column": 2
}
},
"callee": {
"type": "Identifier",
"start": 236,
"end": 241,
"loc": {
"start": {
"line": 8,
"column": 31
},
"end": {
"line": 8,
"column": 36
}
},
"name": "Rizzo"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 242,
"end": 328,
"loc": {
"start": {
"line": 8,
"column": 37
},
"end": {
"line": 12,
"column": 1
}
},
"properties": [
{
"type": "Property",
"start": 246,
"end": 289,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 246,
"end": 254,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 10
}
},
"name": "registry"
},
"value": {
"type": "NewExpression",
"start": 256,
"end": 289,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 260,
"end": 277,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 33
}
},
"name": "ComponentRegistry"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 278,
"end": 288,
"loc": {
"start": {
"line": 9,
"column": 34
},
"end": {
"line": 9,
"column": 44
}
},
"properties": [
{
"type": "Property",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 9,
"column": 36
},
"end": {
"line": 9,
"column": 42
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 9,
"column": 36
},
"end": {
"line": 9,
"column": 42
}
},
"name": "logger"
},
"kind": "init",
"value": {
"type": "Identifier",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 9,
"column": 36
},
"end": {
"line": 9,
"column": 42
}
},
"name": "logger"
}
}
]
}
]
},
"kind": "init"
},
{
"type": "Property",
"start": 293,
"end": 316,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 293,
"end": 297,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 6
}
},
"name": "perf"
},
"value": {
"type": "NewExpression",
"start": 299,
"end": 316,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 25
}
},
"callee": {
"type": "Identifier",
"start": 303,
"end": 314,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 23
}
},
"name": "PerfMonitor"
},
"arguments": []
},
"kind": "init"
},
{
"type": "Property",
"start": 320,
"end": 326,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 8
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 320,
"end": 326,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 8
}
},
"name": "logger"
},
"kind": "init",
"value": {
"type": "Identifier",
"start": 320,
"end": 326,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 8
}
},
"name": "logger"
}
}
]
}
]
}
}
}
],
"kind": "let",
"leadingComments": [],
"trailingComments": []
}
}
]
}