mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-03-09 20:40:31 +08:00
13919 lines
419 KiB
JSON
13919 lines
419 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 2019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 19
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 2019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 19
|
|
}
|
|
},
|
|
"sourceType": "module",
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start": 0,
|
|
"end": 30,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 30
|
|
}
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportDefaultSpecifier",
|
|
"start": 7,
|
|
"end": 15,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 15
|
|
}
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start": 7,
|
|
"end": 15,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 15
|
|
},
|
|
"identifierName": "Keyboard"
|
|
},
|
|
"name": "Keyboard"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start": 21,
|
|
"end": 29,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 29
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "../lib",
|
|
"raw": "'../lib'"
|
|
},
|
|
"value": "../lib"
|
|
}
|
|
},
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start": 32,
|
|
"end": 55,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 23
|
|
}
|
|
},
|
|
"specifiers": [],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start": 39,
|
|
"end": 54,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 22
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "./css/App.css",
|
|
"raw": "'./css/App.css'"
|
|
},
|
|
"value": "./css/App.css"
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * simple-keyboard demo\r\n ",
|
|
"start": 59,
|
|
"end": 92,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 94,
|
|
"end": 1996,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 100,
|
|
"end": 103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 9
|
|
},
|
|
"identifierName": "App"
|
|
},
|
|
"name": "App",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 104,
|
|
"end": 1996,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 157,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 157,
|
|
"end": 168,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 13
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 170,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 177,
|
|
"end": 241,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 68
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 177,
|
|
"end": 240,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 67
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 177,
|
|
"end": 202,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 177,
|
|
"end": 185,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 186,
|
|
"end": 202,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 29
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 203,
|
|
"end": 221,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "DOMContentLoaded",
|
|
"raw": "'DOMContentLoaded'"
|
|
},
|
|
"value": "DOMContentLoaded"
|
|
},
|
|
{
|
|
"type": "MemberExpression",
|
|
"start": 223,
|
|
"end": 239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 66
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 223,
|
|
"end": 227,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 228,
|
|
"end": 239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 66
|
|
},
|
|
"identifierName": "onDOMLoaded"
|
|
},
|
|
"name": "onDOMLoaded"
|
|
},
|
|
"computed": false
|
|
}
|
|
]
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Default input name\r\n * @type {string}\r\n ",
|
|
"start": 249,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 317,
|
|
"end": 345,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 32
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 317,
|
|
"end": 344,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 31
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 317,
|
|
"end": 332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 317,
|
|
"end": 321,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 322,
|
|
"end": 332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 335,
|
|
"end": 344,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 31
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "\"default\""
|
|
},
|
|
"value": "default"
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Default input name\r\n * @type {string}\r\n ",
|
|
"start": 249,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Instantiates the demo class\r\n ",
|
|
"start": 109,
|
|
"end": 153,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Executed when the DOM is ready\r\n ",
|
|
"start": 356,
|
|
"end": 403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 407,
|
|
"end": 1260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 407,
|
|
"end": 418,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 13
|
|
},
|
|
"identifierName": "onDOMLoaded"
|
|
},
|
|
"name": "onDOMLoaded",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 421,
|
|
"end": 1260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 427,
|
|
"end": 1260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 499,
|
|
"end": 850,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 499,
|
|
"end": 849,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 6
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 499,
|
|
"end": 512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 17
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 499,
|
|
"end": 503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 504,
|
|
"end": 512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 17
|
|
},
|
|
"identifierName": "keyboard"
|
|
},
|
|
"name": "keyboard"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "NewExpression",
|
|
"start": 515,
|
|
"end": 849,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start": 519,
|
|
"end": 527,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 32
|
|
},
|
|
"identifierName": "Keyboard"
|
|
},
|
|
"name": "Keyboard"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ObjectExpression",
|
|
"start": 528,
|
|
"end": 848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 5
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 537,
|
|
"end": 548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 537,
|
|
"end": 542,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 11
|
|
},
|
|
"identifierName": "debug"
|
|
},
|
|
"name": "debug"
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"start": 544,
|
|
"end": 548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 557,
|
|
"end": 584,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 557,
|
|
"end": 567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 16
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"value": {
|
|
"type": "MemberExpression",
|
|
"start": 569,
|
|
"end": 584,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 569,
|
|
"end": 573,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 574,
|
|
"end": 584,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 593,
|
|
"end": 632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 45
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 593,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 14
|
|
},
|
|
"identifierName": "onChange"
|
|
},
|
|
"name": "onChange"
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 603,
|
|
"end": 632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 45
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": true,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 603,
|
|
"end": 608,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 21
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "CallExpression",
|
|
"start": 612,
|
|
"end": 632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 45
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 612,
|
|
"end": 625,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 612,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 617,
|
|
"end": 625,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 38
|
|
},
|
|
"identifierName": "onChange"
|
|
},
|
|
"name": "onChange"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 626,
|
|
"end": 631,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 44
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 641,
|
|
"end": 686,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 51
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 641,
|
|
"end": 651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 16
|
|
},
|
|
"identifierName": "onKeyPress"
|
|
},
|
|
"name": "onKeyPress"
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 653,
|
|
"end": 686,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 51
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": true,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 653,
|
|
"end": 659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 24
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "CallExpression",
|
|
"start": 663,
|
|
"end": 686,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 51
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 663,
|
|
"end": 678,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 663,
|
|
"end": 667,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 668,
|
|
"end": 678,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 43
|
|
},
|
|
"identifierName": "onKeyPress"
|
|
},
|
|
"name": "onKeyPress"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 679,
|
|
"end": 685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 50
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 695,
|
|
"end": 715,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 26
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 695,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 20
|
|
},
|
|
"identifierName": "newLineOnEnter"
|
|
},
|
|
"name": "newLineOnEnter"
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"start": 711,
|
|
"end": 715,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 26
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 724,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 37
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 724,
|
|
"end": 749,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 31
|
|
},
|
|
"identifierName": "physicalKeyboardHighlight"
|
|
},
|
|
"name": "physicalKeyboardHighlight"
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"start": 751,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 37
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 764,
|
|
"end": 787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 29
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 764,
|
|
"end": 773,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 15
|
|
},
|
|
"identifierName": "inputName"
|
|
},
|
|
"name": "inputName"
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"start": 775,
|
|
"end": 787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 29
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "inputPhone",
|
|
"raw": "\"inputPhone\""
|
|
},
|
|
"value": "inputPhone"
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 796,
|
|
"end": 841,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 7
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 796,
|
|
"end": 805,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 15
|
|
},
|
|
"identifierName": "maxLength"
|
|
},
|
|
"name": "maxLength"
|
|
},
|
|
"value": {
|
|
"type": "ObjectExpression",
|
|
"start": 807,
|
|
"end": 841,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 7
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 818,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 22
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 818,
|
|
"end": 828,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 18
|
|
},
|
|
"identifierName": "inputPhone"
|
|
},
|
|
"name": "inputPhone"
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"start": 830,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 22
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 11,
|
|
"raw": "11"
|
|
},
|
|
"value": 11
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates a new simple-keyboard instance\r\n ",
|
|
"start": 434,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Adding preview (demo only)\r\n ",
|
|
"start": 860,
|
|
"end": 907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 913,
|
|
"end": 1113,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 913,
|
|
"end": 1112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 913,
|
|
"end": 974,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 65
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"start": 913,
|
|
"end": 955,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 46
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 913,
|
|
"end": 935,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 913,
|
|
"end": 921,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document",
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 922,
|
|
"end": 935,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 26
|
|
},
|
|
"identifierName": "querySelector"
|
|
},
|
|
"name": "querySelector"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 936,
|
|
"end": 954,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".simple-keyboard",
|
|
"raw": "'.simple-keyboard'"
|
|
},
|
|
"value": ".simple-keyboard"
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 956,
|
|
"end": 974,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 65
|
|
},
|
|
"identifierName": "insertAdjacentHTML"
|
|
},
|
|
"name": "insertAdjacentHTML"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 975,
|
|
"end": 988,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 79
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "beforebegin",
|
|
"raw": "'beforebegin'"
|
|
},
|
|
"value": "beforebegin"
|
|
},
|
|
{
|
|
"type": "TemplateLiteral",
|
|
"start": 990,
|
|
"end": 1111,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 81
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 5
|
|
}
|
|
},
|
|
"expressions": [],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 991,
|
|
"end": 1110,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 82
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 4
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "\n <div class=\"simple-keyboard-preview\">\n <textarea class=\"input\" maxlength=\"11\"></textarea>\n </div>\n ",
|
|
"cooked": "\n <div class=\"simple-keyboard-preview\">\n <textarea class=\"input\" maxlength=\"11\"></textarea>\n </div>\n "
|
|
},
|
|
"tail": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Adding preview (demo only)\r\n ",
|
|
"start": 860,
|
|
"end": 907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1123,
|
|
"end": 1255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1123,
|
|
"end": 1254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1123,
|
|
"end": 1172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 53
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"start": 1123,
|
|
"end": 1155,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 36
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1123,
|
|
"end": 1145,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1123,
|
|
"end": 1131,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1132,
|
|
"end": 1145,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 26
|
|
},
|
|
"identifierName": "querySelector"
|
|
},
|
|
"name": "querySelector"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1146,
|
|
"end": 1154,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 35
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".input",
|
|
"raw": "'.input'"
|
|
},
|
|
"value": ".input"
|
|
}
|
|
]
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1156,
|
|
"end": 1172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 53
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1173,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 62
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "change",
|
|
"raw": "'change'"
|
|
},
|
|
"value": "change"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1183,
|
|
"end": 1253,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 5
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1184,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 70
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1194,
|
|
"end": 1253,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1203,
|
|
"end": 1246,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 49
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1203,
|
|
"end": 1245,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 48
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1203,
|
|
"end": 1225,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 28
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1203,
|
|
"end": 1216,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 19
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1203,
|
|
"end": 1207,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1208,
|
|
"end": 1216,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 19
|
|
},
|
|
"identifierName": "keyboard"
|
|
},
|
|
"name": "keyboard"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1217,
|
|
"end": 1225,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 28
|
|
},
|
|
"identifierName": "setInput"
|
|
},
|
|
"name": "setInput"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "MemberExpression",
|
|
"start": 1226,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 47
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1226,
|
|
"end": 1238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 41
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1226,
|
|
"end": 1231,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 34
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1232,
|
|
"end": 1238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 41
|
|
},
|
|
"identifierName": "target"
|
|
},
|
|
"name": "target"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1239,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 47
|
|
},
|
|
"identifierName": "value"
|
|
},
|
|
"name": "value"
|
|
},
|
|
"computed": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Executed when the DOM is ready\r\n ",
|
|
"start": 356,
|
|
"end": 403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Handles shift functionality\r\n ",
|
|
"start": 1266,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 1314,
|
|
"end": 1550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1314,
|
|
"end": 1331,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 19
|
|
},
|
|
"identifierName": "handleShiftButton"
|
|
},
|
|
"name": "handleShiftButton",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1334,
|
|
"end": 1550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1340,
|
|
"end": 1550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1347,
|
|
"end": 1380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 37
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1351,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 36
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1351,
|
|
"end": 1361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 18
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 1364,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 36
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1364,
|
|
"end": 1368,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1369,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 36
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1386,
|
|
"end": 1469,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 87
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1390,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1390,
|
|
"end": 1401,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 19
|
|
},
|
|
"identifierName": "shiftToggle"
|
|
},
|
|
"name": "shiftToggle"
|
|
},
|
|
"init": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1404,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1404,
|
|
"end": 1419,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 37
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1404,
|
|
"end": 1408,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1409,
|
|
"end": 1419,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 37
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "ConditionalExpression",
|
|
"start": 1422,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"start": 1422,
|
|
"end": 1446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 64
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1422,
|
|
"end": 1432,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 50
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1437,
|
|
"end": 1446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 64
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "\"default\""
|
|
},
|
|
"value": "default"
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "StringLiteral",
|
|
"start": 1449,
|
|
"end": 1456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 74
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "shift",
|
|
"raw": "\"shift\""
|
|
},
|
|
"value": "shift"
|
|
},
|
|
"alternate": {
|
|
"type": "StringLiteral",
|
|
"start": 1459,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "\"default\""
|
|
},
|
|
"value": "default"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1479,
|
|
"end": 1545,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1479,
|
|
"end": 1544,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1479,
|
|
"end": 1503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 28
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1479,
|
|
"end": 1492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 17
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1479,
|
|
"end": 1483,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1484,
|
|
"end": 1492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 17
|
|
},
|
|
"identifierName": "keyboard"
|
|
},
|
|
"name": "keyboard"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1493,
|
|
"end": 1503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 28
|
|
},
|
|
"identifierName": "setOptions"
|
|
},
|
|
"name": "setOptions"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ObjectExpression",
|
|
"start": 1504,
|
|
"end": 1543,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 5
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 1513,
|
|
"end": 1536,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 29
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1513,
|
|
"end": 1523,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 16
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"value": {
|
|
"type": "Identifier",
|
|
"start": 1525,
|
|
"end": 1536,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 29
|
|
},
|
|
"identifierName": "shiftToggle"
|
|
},
|
|
"name": "shiftToggle"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Handles shift functionality\r\n ",
|
|
"start": 1266,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when simple-keyboard input has changed\r\n ",
|
|
"start": 1556,
|
|
"end": 1618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 1622,
|
|
"end": 1701,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1622,
|
|
"end": 1630,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 10
|
|
},
|
|
"identifierName": "onChange"
|
|
},
|
|
"name": "onChange",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1633,
|
|
"end": 1701,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1633,
|
|
"end": 1638,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 18
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1642,
|
|
"end": 1701,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1649,
|
|
"end": 1696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 51
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1649,
|
|
"end": 1695,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 50
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1649,
|
|
"end": 1687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 42
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"start": 1649,
|
|
"end": 1681,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 36
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1649,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1649,
|
|
"end": 1657,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1658,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 26
|
|
},
|
|
"identifierName": "querySelector"
|
|
},
|
|
"name": "querySelector"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1672,
|
|
"end": 1680,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 35
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".input",
|
|
"raw": "'.input'"
|
|
},
|
|
"value": ".input"
|
|
}
|
|
]
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1682,
|
|
"end": 1687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 42
|
|
},
|
|
"identifierName": "value"
|
|
},
|
|
"name": "value"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1690,
|
|
"end": 1695,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 50
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when simple-keyboard input has changed\r\n ",
|
|
"start": 1556,
|
|
"end": 1618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ",
|
|
"start": 1707,
|
|
"end": 1768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 1772,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1772,
|
|
"end": 1782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 12
|
|
},
|
|
"identifierName": "onKeyPress"
|
|
},
|
|
"name": "onKeyPress",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1785,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1785,
|
|
"end": 1791,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 21
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1795,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1802,
|
|
"end": 1840,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 42
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1802,
|
|
"end": 1839,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 41
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1802,
|
|
"end": 1813,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1802,
|
|
"end": 1809,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 11
|
|
},
|
|
"identifierName": "console"
|
|
},
|
|
"name": "console"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1810,
|
|
"end": 1813,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"identifierName": "log"
|
|
},
|
|
"name": "log"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1814,
|
|
"end": 1830,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 32
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Button pressed",
|
|
"raw": "\"Button pressed\""
|
|
},
|
|
"value": "Button pressed"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1832,
|
|
"end": 1838,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 40
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
]
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Shift functionality\r\n ",
|
|
"start": 1852,
|
|
"end": 1896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 9
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1904,
|
|
"end": 1986,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 33
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 1907,
|
|
"end": 1950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 52
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1907,
|
|
"end": 1926,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 28
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1907,
|
|
"end": 1913,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 15
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button",
|
|
"leadingComments": null
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1918,
|
|
"end": 1926,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 28
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{lock}",
|
|
"raw": "\"{lock}\""
|
|
},
|
|
"value": "{lock}"
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 1930,
|
|
"end": 1950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 52
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1930,
|
|
"end": 1936,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 38
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1941,
|
|
"end": 1950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 52
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{shift}",
|
|
"raw": "\"{shift}\""
|
|
},
|
|
"value": "{shift}"
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"consequent": {
|
|
"type": "ExpressionStatement",
|
|
"start": 1961,
|
|
"end": 1986,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 33
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1961,
|
|
"end": 1985,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 32
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1961,
|
|
"end": 1983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 30
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1961,
|
|
"end": 1965,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1966,
|
|
"end": 1983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 30
|
|
},
|
|
"identifierName": "handleShiftButton"
|
|
},
|
|
"name": "handleShiftButton"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
},
|
|
"alternate": null,
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Shift functionality\r\n ",
|
|
"start": 1852,
|
|
"end": 1896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 9
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ",
|
|
"start": 1707,
|
|
"end": 1768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [],
|
|
"name": "_",
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2000,
|
|
"end": 2019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 19
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "Identifier",
|
|
"start": 2015,
|
|
"end": 2018,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 18
|
|
},
|
|
"identifierName": "App"
|
|
},
|
|
"name": "App"
|
|
},
|
|
"name": "_",
|
|
"leadingComments": [],
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "ExportDefaultDeclaration",
|
|
"start": 2000,
|
|
"end": 2019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 19
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"start": 94,
|
|
"end": 1996,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 100,
|
|
"end": 103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 9
|
|
},
|
|
"identifierName": "App"
|
|
},
|
|
"name": "App",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 104,
|
|
"end": 1996,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 157,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 157,
|
|
"end": 168,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 13
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 170,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 177,
|
|
"end": 241,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 68
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 177,
|
|
"end": 240,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 67
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 177,
|
|
"end": 202,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 177,
|
|
"end": 185,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 186,
|
|
"end": 202,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 29
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 203,
|
|
"end": 221,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "DOMContentLoaded",
|
|
"raw": "'DOMContentLoaded'"
|
|
},
|
|
"value": "DOMContentLoaded"
|
|
},
|
|
{
|
|
"type": "MemberExpression",
|
|
"start": 223,
|
|
"end": 239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 66
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 223,
|
|
"end": 227,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 228,
|
|
"end": 239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 66
|
|
},
|
|
"identifierName": "onDOMLoaded"
|
|
},
|
|
"name": "onDOMLoaded"
|
|
},
|
|
"computed": false
|
|
}
|
|
]
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Default input name\r\n * @type {string}\r\n ",
|
|
"start": 249,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 317,
|
|
"end": 345,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 32
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 317,
|
|
"end": 344,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 31
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 317,
|
|
"end": 332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 317,
|
|
"end": 321,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 322,
|
|
"end": 332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 335,
|
|
"end": 344,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 31
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "\"default\""
|
|
},
|
|
"value": "default"
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Default input name\r\n * @type {string}\r\n ",
|
|
"start": 249,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Instantiates the demo class\r\n ",
|
|
"start": 109,
|
|
"end": 153,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Executed when the DOM is ready\r\n ",
|
|
"start": 356,
|
|
"end": 403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 407,
|
|
"end": 1260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 407,
|
|
"end": 418,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 13
|
|
},
|
|
"identifierName": "onDOMLoaded"
|
|
},
|
|
"name": "onDOMLoaded",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 421,
|
|
"end": 1260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 427,
|
|
"end": 1260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 499,
|
|
"end": 850,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 499,
|
|
"end": 849,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 6
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 499,
|
|
"end": 512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 17
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 499,
|
|
"end": 503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 8
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 504,
|
|
"end": 512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 17
|
|
},
|
|
"identifierName": "keyboard"
|
|
},
|
|
"name": "keyboard"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"right": {
|
|
"type": "NewExpression",
|
|
"start": 515,
|
|
"end": 849,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start": 519,
|
|
"end": 527,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 32
|
|
},
|
|
"identifierName": "Keyboard"
|
|
},
|
|
"name": "Keyboard"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ObjectExpression",
|
|
"start": 528,
|
|
"end": 848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 5
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 537,
|
|
"end": 548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 537,
|
|
"end": 542,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 11
|
|
},
|
|
"identifierName": "debug"
|
|
},
|
|
"name": "debug"
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"start": 544,
|
|
"end": 548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 557,
|
|
"end": 584,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 557,
|
|
"end": 567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 16
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"value": {
|
|
"type": "MemberExpression",
|
|
"start": 569,
|
|
"end": 584,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 569,
|
|
"end": 573,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 574,
|
|
"end": 584,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 593,
|
|
"end": 632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 45
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 593,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 14
|
|
},
|
|
"identifierName": "onChange"
|
|
},
|
|
"name": "onChange"
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 603,
|
|
"end": 632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 45
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": true,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 603,
|
|
"end": 608,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 21
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "CallExpression",
|
|
"start": 612,
|
|
"end": 632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 45
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 612,
|
|
"end": 625,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 612,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 617,
|
|
"end": 625,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 38
|
|
},
|
|
"identifierName": "onChange"
|
|
},
|
|
"name": "onChange"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 626,
|
|
"end": 631,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 44
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 641,
|
|
"end": 686,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 51
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 641,
|
|
"end": 651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 16
|
|
},
|
|
"identifierName": "onKeyPress"
|
|
},
|
|
"name": "onKeyPress"
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 653,
|
|
"end": 686,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 51
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": true,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 653,
|
|
"end": 659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 24
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "CallExpression",
|
|
"start": 663,
|
|
"end": 686,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 51
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 663,
|
|
"end": 678,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 663,
|
|
"end": 667,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 668,
|
|
"end": 678,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 43
|
|
},
|
|
"identifierName": "onKeyPress"
|
|
},
|
|
"name": "onKeyPress"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 679,
|
|
"end": 685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 50
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 695,
|
|
"end": 715,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 26
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 695,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 20
|
|
},
|
|
"identifierName": "newLineOnEnter"
|
|
},
|
|
"name": "newLineOnEnter"
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"start": 711,
|
|
"end": 715,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 26
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 724,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 37
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 724,
|
|
"end": 749,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 31
|
|
},
|
|
"identifierName": "physicalKeyboardHighlight"
|
|
},
|
|
"name": "physicalKeyboardHighlight"
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"start": 751,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 37
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 764,
|
|
"end": 787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 29
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 764,
|
|
"end": 773,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 15
|
|
},
|
|
"identifierName": "inputName"
|
|
},
|
|
"name": "inputName"
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"start": 775,
|
|
"end": 787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 29
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "inputPhone",
|
|
"raw": "\"inputPhone\""
|
|
},
|
|
"value": "inputPhone"
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 796,
|
|
"end": 841,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 7
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 796,
|
|
"end": 805,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 15
|
|
},
|
|
"identifierName": "maxLength"
|
|
},
|
|
"name": "maxLength"
|
|
},
|
|
"value": {
|
|
"type": "ObjectExpression",
|
|
"start": 807,
|
|
"end": 841,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 7
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 818,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 22
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 818,
|
|
"end": 828,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 18
|
|
},
|
|
"identifierName": "inputPhone"
|
|
},
|
|
"name": "inputPhone"
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"start": 830,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 22
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 11,
|
|
"raw": "11"
|
|
},
|
|
"value": 11
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates a new simple-keyboard instance\r\n ",
|
|
"start": 434,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Adding preview (demo only)\r\n ",
|
|
"start": 860,
|
|
"end": 907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 913,
|
|
"end": 1113,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 913,
|
|
"end": 1112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 913,
|
|
"end": 974,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 65
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"start": 913,
|
|
"end": 955,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 46
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 913,
|
|
"end": 935,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 913,
|
|
"end": 921,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document",
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 922,
|
|
"end": 935,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 26
|
|
},
|
|
"identifierName": "querySelector"
|
|
},
|
|
"name": "querySelector"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 936,
|
|
"end": 954,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 45
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".simple-keyboard",
|
|
"raw": "'.simple-keyboard'"
|
|
},
|
|
"value": ".simple-keyboard"
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 956,
|
|
"end": 974,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 65
|
|
},
|
|
"identifierName": "insertAdjacentHTML"
|
|
},
|
|
"name": "insertAdjacentHTML"
|
|
},
|
|
"computed": false,
|
|
"leadingComments": null
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 975,
|
|
"end": 988,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 79
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "beforebegin",
|
|
"raw": "'beforebegin'"
|
|
},
|
|
"value": "beforebegin"
|
|
},
|
|
{
|
|
"type": "TemplateLiteral",
|
|
"start": 990,
|
|
"end": 1111,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 81
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 5
|
|
}
|
|
},
|
|
"expressions": [],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"start": 991,
|
|
"end": 1110,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 82
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 4
|
|
}
|
|
},
|
|
"value": {
|
|
"raw": "\n <div class=\"simple-keyboard-preview\">\n <textarea class=\"input\" maxlength=\"11\"></textarea>\n </div>\n ",
|
|
"cooked": "\n <div class=\"simple-keyboard-preview\">\n <textarea class=\"input\" maxlength=\"11\"></textarea>\n </div>\n "
|
|
},
|
|
"tail": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"leadingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Adding preview (demo only)\r\n ",
|
|
"start": 860,
|
|
"end": 907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1123,
|
|
"end": 1255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1123,
|
|
"end": 1254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1123,
|
|
"end": 1172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 53
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"start": 1123,
|
|
"end": 1155,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 36
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1123,
|
|
"end": 1145,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1123,
|
|
"end": 1131,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1132,
|
|
"end": 1145,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 26
|
|
},
|
|
"identifierName": "querySelector"
|
|
},
|
|
"name": "querySelector"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1146,
|
|
"end": 1154,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 35
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".input",
|
|
"raw": "'.input'"
|
|
},
|
|
"value": ".input"
|
|
}
|
|
]
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1156,
|
|
"end": 1172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 53
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1173,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 62
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "change",
|
|
"raw": "'change'"
|
|
},
|
|
"value": "change"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1183,
|
|
"end": 1253,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 5
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1184,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 70
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1194,
|
|
"end": 1253,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1203,
|
|
"end": 1246,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 49
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1203,
|
|
"end": 1245,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 48
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1203,
|
|
"end": 1225,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 28
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1203,
|
|
"end": 1216,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 19
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1203,
|
|
"end": 1207,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1208,
|
|
"end": 1216,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 19
|
|
},
|
|
"identifierName": "keyboard"
|
|
},
|
|
"name": "keyboard"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1217,
|
|
"end": 1225,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 28
|
|
},
|
|
"identifierName": "setInput"
|
|
},
|
|
"name": "setInput"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "MemberExpression",
|
|
"start": 1226,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 47
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1226,
|
|
"end": 1238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 41
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1226,
|
|
"end": 1231,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 34
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1232,
|
|
"end": 1238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 41
|
|
},
|
|
"identifierName": "target"
|
|
},
|
|
"name": "target"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1239,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 47
|
|
},
|
|
"identifierName": "value"
|
|
},
|
|
"name": "value"
|
|
},
|
|
"computed": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Executed when the DOM is ready\r\n ",
|
|
"start": 356,
|
|
"end": 403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Handles shift functionality\r\n ",
|
|
"start": 1266,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 1314,
|
|
"end": 1550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1314,
|
|
"end": 1331,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 19
|
|
},
|
|
"identifierName": "handleShiftButton"
|
|
},
|
|
"name": "handleShiftButton",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1334,
|
|
"end": 1550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1340,
|
|
"end": 1550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1347,
|
|
"end": 1380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 37
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1351,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 36
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1351,
|
|
"end": 1361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 18
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 1364,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 36
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1364,
|
|
"end": 1368,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1369,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 36
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1386,
|
|
"end": 1469,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 87
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1390,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1390,
|
|
"end": 1401,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 19
|
|
},
|
|
"identifierName": "shiftToggle"
|
|
},
|
|
"name": "shiftToggle"
|
|
},
|
|
"init": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1404,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1404,
|
|
"end": 1419,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 37
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1404,
|
|
"end": 1408,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1409,
|
|
"end": 1419,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 37
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "ConditionalExpression",
|
|
"start": 1422,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"start": 1422,
|
|
"end": 1446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 64
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1422,
|
|
"end": 1432,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 50
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1437,
|
|
"end": 1446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 64
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "\"default\""
|
|
},
|
|
"value": "default"
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "StringLiteral",
|
|
"start": 1449,
|
|
"end": 1456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 74
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "shift",
|
|
"raw": "\"shift\""
|
|
},
|
|
"value": "shift"
|
|
},
|
|
"alternate": {
|
|
"type": "StringLiteral",
|
|
"start": 1459,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "default",
|
|
"raw": "\"default\""
|
|
},
|
|
"value": "default"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1479,
|
|
"end": 1545,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 7
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1479,
|
|
"end": 1544,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 6
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1479,
|
|
"end": 1503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 28
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1479,
|
|
"end": 1492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 17
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1479,
|
|
"end": 1483,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1484,
|
|
"end": 1492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 17
|
|
},
|
|
"identifierName": "keyboard"
|
|
},
|
|
"name": "keyboard"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1493,
|
|
"end": 1503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 28
|
|
},
|
|
"identifierName": "setOptions"
|
|
},
|
|
"name": "setOptions"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "ObjectExpression",
|
|
"start": 1504,
|
|
"end": 1543,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 5
|
|
}
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start": 1513,
|
|
"end": 1536,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 29
|
|
}
|
|
},
|
|
"method": false,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1513,
|
|
"end": 1523,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 16
|
|
},
|
|
"identifierName": "layoutName"
|
|
},
|
|
"name": "layoutName"
|
|
},
|
|
"value": {
|
|
"type": "Identifier",
|
|
"start": 1525,
|
|
"end": 1536,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 29
|
|
},
|
|
"identifierName": "shiftToggle"
|
|
},
|
|
"name": "shiftToggle"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Handles shift functionality\r\n ",
|
|
"start": 1266,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when simple-keyboard input has changed\r\n ",
|
|
"start": 1556,
|
|
"end": 1618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 1622,
|
|
"end": 1701,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1622,
|
|
"end": 1630,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 10
|
|
},
|
|
"identifierName": "onChange"
|
|
},
|
|
"name": "onChange",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1633,
|
|
"end": 1701,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1633,
|
|
"end": 1638,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 18
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1642,
|
|
"end": 1701,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1649,
|
|
"end": 1696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 51
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1649,
|
|
"end": 1695,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 50
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1649,
|
|
"end": 1687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 42
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"start": 1649,
|
|
"end": 1681,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 36
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1649,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1649,
|
|
"end": 1657,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 12
|
|
},
|
|
"identifierName": "document"
|
|
},
|
|
"name": "document"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1658,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 26
|
|
},
|
|
"identifierName": "querySelector"
|
|
},
|
|
"name": "querySelector"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1672,
|
|
"end": 1680,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 35
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".input",
|
|
"raw": "'.input'"
|
|
},
|
|
"value": ".input"
|
|
}
|
|
]
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1682,
|
|
"end": 1687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 42
|
|
},
|
|
"identifierName": "value"
|
|
},
|
|
"name": "value"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1690,
|
|
"end": 1695,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 50
|
|
},
|
|
"identifierName": "input"
|
|
},
|
|
"name": "input"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when simple-keyboard input has changed\r\n ",
|
|
"start": 1556,
|
|
"end": 1618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ",
|
|
"start": 1707,
|
|
"end": 1768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start": 1772,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 3
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1772,
|
|
"end": 1782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 12
|
|
},
|
|
"identifierName": "onKeyPress"
|
|
},
|
|
"name": "onKeyPress",
|
|
"leadingComments": null
|
|
},
|
|
"value": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1785,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 3
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1785,
|
|
"end": 1791,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 21
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1795,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 3
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1802,
|
|
"end": 1840,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 42
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1802,
|
|
"end": 1839,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 41
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1802,
|
|
"end": 1813,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1802,
|
|
"end": 1809,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 11
|
|
},
|
|
"identifierName": "console"
|
|
},
|
|
"name": "console"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1810,
|
|
"end": 1813,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"identifierName": "log"
|
|
},
|
|
"name": "log"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1814,
|
|
"end": 1830,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 32
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Button pressed",
|
|
"raw": "\"Button pressed\""
|
|
},
|
|
"value": "Button pressed"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1832,
|
|
"end": 1838,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 40
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
}
|
|
]
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Shift functionality\r\n ",
|
|
"start": 1852,
|
|
"end": 1896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 9
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1904,
|
|
"end": 1986,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 33
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start": 1907,
|
|
"end": 1950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 52
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1907,
|
|
"end": 1926,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 28
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1907,
|
|
"end": 1913,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 15
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button",
|
|
"leadingComments": null
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1918,
|
|
"end": 1926,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 28
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{lock}",
|
|
"raw": "\"{lock}\""
|
|
},
|
|
"value": "{lock}"
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 1930,
|
|
"end": 1950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 52
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 1930,
|
|
"end": 1936,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 38
|
|
},
|
|
"identifierName": "button"
|
|
},
|
|
"name": "button"
|
|
},
|
|
"operator": "===",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1941,
|
|
"end": 1950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 52
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "{shift}",
|
|
"raw": "\"{shift}\""
|
|
},
|
|
"value": "{shift}"
|
|
}
|
|
},
|
|
"leadingComments": null
|
|
},
|
|
"consequent": {
|
|
"type": "ExpressionStatement",
|
|
"start": 1961,
|
|
"end": 1986,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 33
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1961,
|
|
"end": 1985,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 32
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1961,
|
|
"end": 1983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 30
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1961,
|
|
"end": 1965,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1966,
|
|
"end": 1983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 30
|
|
},
|
|
"identifierName": "handleShiftButton"
|
|
},
|
|
"name": "handleShiftButton"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
},
|
|
"alternate": null,
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Shift functionality\r\n ",
|
|
"start": 1852,
|
|
"end": 1896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 9
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ",
|
|
"start": 1707,
|
|
"end": 1768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * simple-keyboard demo\r\n ",
|
|
"start": 59,
|
|
"end": 92,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"__PseudoExport__": false,
|
|
"trailingComments": []
|
|
},
|
|
"leadingComments": null
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * simple-keyboard demo\r\n ",
|
|
"start": 59,
|
|
"end": 92,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Instantiates the demo class\r\n ",
|
|
"start": 109,
|
|
"end": 153,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Default input name\r\n * @type {string}\r\n ",
|
|
"start": 249,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Executed when the DOM is ready\r\n ",
|
|
"start": 356,
|
|
"end": 403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates a new simple-keyboard instance\r\n ",
|
|
"start": 434,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Adding preview (demo only)\r\n ",
|
|
"start": 860,
|
|
"end": 907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Handles shift functionality\r\n ",
|
|
"start": 1266,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when simple-keyboard input has changed\r\n ",
|
|
"start": 1556,
|
|
"end": 1618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ",
|
|
"start": 1707,
|
|
"end": 1768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Shift functionality\r\n ",
|
|
"start": 1852,
|
|
"end": 1896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 9
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tokens": [
|
|
{
|
|
"type": {
|
|
"label": "import",
|
|
"keyword": "import",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "import",
|
|
"start": 0,
|
|
"end": 6,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Keyboard",
|
|
"start": 7,
|
|
"end": 15,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "from",
|
|
"start": 16,
|
|
"end": 20,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "../lib",
|
|
"start": 21,
|
|
"end": 29,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 29,
|
|
"end": 30,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "import",
|
|
"keyword": "import",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "import",
|
|
"start": 32,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "./css/App.css",
|
|
"start": 39,
|
|
"end": 54,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 54,
|
|
"end": 55,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * simple-keyboard demo\r\n ",
|
|
"start": 59,
|
|
"end": 92,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "class",
|
|
"keyword": "class",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "class",
|
|
"start": 94,
|
|
"end": 99,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "App",
|
|
"start": 100,
|
|
"end": 103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 104,
|
|
"end": 105,
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 7,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Instantiates the demo class\r\n ",
|
|
"start": 109,
|
|
"end": 153,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "constructor",
|
|
"start": 157,
|
|
"end": 168,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 168,
|
|
"end": 169,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 169,
|
|
"end": 170,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 170,
|
|
"end": 171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "document",
|
|
"start": 177,
|
|
"end": 185,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 185,
|
|
"end": 186,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "addEventListener",
|
|
"start": 186,
|
|
"end": 202,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 202,
|
|
"end": 203,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "DOMContentLoaded",
|
|
"start": 203,
|
|
"end": 221,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 221,
|
|
"end": 222,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 223,
|
|
"end": 227,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 227,
|
|
"end": 228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 55
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onDOMLoaded",
|
|
"start": 228,
|
|
"end": 239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 239,
|
|
"end": 240,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 67
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 240,
|
|
"end": 241,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 68
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Default input name\r\n * @type {string}\r\n ",
|
|
"start": 249,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 317,
|
|
"end": 321,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 321,
|
|
"end": 322,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 322,
|
|
"end": 332,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 333,
|
|
"end": 334,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "default",
|
|
"start": 335,
|
|
"end": 344,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 344,
|
|
"end": 345,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 349,
|
|
"end": 350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Executed when the DOM is ready\r\n ",
|
|
"start": 356,
|
|
"end": 403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onDOMLoaded",
|
|
"start": 407,
|
|
"end": 418,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 419,
|
|
"end": 420,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 421,
|
|
"end": 422,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 422,
|
|
"end": 423,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 424,
|
|
"end": 426,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 427,
|
|
"end": 428,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Creates a new simple-keyboard instance\r\n ",
|
|
"start": 434,
|
|
"end": 493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 499,
|
|
"end": 503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 503,
|
|
"end": 504,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "keyboard",
|
|
"start": 504,
|
|
"end": 512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 513,
|
|
"end": 514,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "new",
|
|
"keyword": "new",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "new",
|
|
"start": 515,
|
|
"end": 518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Keyboard",
|
|
"start": 519,
|
|
"end": 527,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 527,
|
|
"end": 528,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 528,
|
|
"end": 529,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "debug",
|
|
"start": 537,
|
|
"end": 542,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 542,
|
|
"end": 543,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "true",
|
|
"keyword": "true",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "true",
|
|
"start": 544,
|
|
"end": 548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 548,
|
|
"end": 549,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 557,
|
|
"end": 567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 567,
|
|
"end": 568,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 569,
|
|
"end": 573,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 573,
|
|
"end": 574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 574,
|
|
"end": 584,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 584,
|
|
"end": 585,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onChange",
|
|
"start": 593,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 601,
|
|
"end": 602,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "input",
|
|
"start": 603,
|
|
"end": 608,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 609,
|
|
"end": 611,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 612,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 616,
|
|
"end": 617,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onChange",
|
|
"start": 617,
|
|
"end": 625,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 625,
|
|
"end": 626,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "input",
|
|
"start": 626,
|
|
"end": 631,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 631,
|
|
"end": 632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 632,
|
|
"end": 633,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onKeyPress",
|
|
"start": 641,
|
|
"end": 651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 651,
|
|
"end": 652,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "button",
|
|
"start": 653,
|
|
"end": 659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 660,
|
|
"end": 662,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 663,
|
|
"end": 667,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 667,
|
|
"end": 668,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onKeyPress",
|
|
"start": 668,
|
|
"end": 678,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 678,
|
|
"end": 679,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "button",
|
|
"start": 679,
|
|
"end": 685,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 685,
|
|
"end": 686,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 686,
|
|
"end": 687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "newLineOnEnter",
|
|
"start": 695,
|
|
"end": 709,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 709,
|
|
"end": 710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "true",
|
|
"keyword": "true",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "true",
|
|
"start": 711,
|
|
"end": 715,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 715,
|
|
"end": 716,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "physicalKeyboardHighlight",
|
|
"start": 724,
|
|
"end": 749,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 749,
|
|
"end": 750,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "true",
|
|
"keyword": "true",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "true",
|
|
"start": 751,
|
|
"end": 755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 755,
|
|
"end": 756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "inputName",
|
|
"start": 764,
|
|
"end": 773,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 773,
|
|
"end": 774,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "inputPhone",
|
|
"start": 775,
|
|
"end": 787,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 787,
|
|
"end": 788,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "maxLength",
|
|
"start": 796,
|
|
"end": 805,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 805,
|
|
"end": 806,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 807,
|
|
"end": 808,
|
|
"loc": {
|
|
"start": {
|
|
"line": 36,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 36,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "inputPhone",
|
|
"start": 818,
|
|
"end": 828,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 828,
|
|
"end": 829,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "num",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": 11,
|
|
"start": 830,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 840,
|
|
"end": 841,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 847,
|
|
"end": 848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 848,
|
|
"end": 849,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 849,
|
|
"end": 850,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Adding preview (demo only)\r\n ",
|
|
"start": 860,
|
|
"end": 907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "document",
|
|
"start": 913,
|
|
"end": 921,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 921,
|
|
"end": 922,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "querySelector",
|
|
"start": 922,
|
|
"end": 935,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 935,
|
|
"end": 936,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": ".simple-keyboard",
|
|
"start": 936,
|
|
"end": 954,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 954,
|
|
"end": 955,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 955,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "insertAdjacentHTML",
|
|
"start": 956,
|
|
"end": 974,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 974,
|
|
"end": 975,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "beforebegin",
|
|
"start": 975,
|
|
"end": 988,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 79
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 988,
|
|
"end": 989,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 79
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 80
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "`",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 990,
|
|
"end": 991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 81
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 82
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "template",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "\n <div class=\"simple-keyboard-preview\">\n <textarea class=\"input\" maxlength=\"11\"></textarea>\n </div>\n ",
|
|
"start": 991,
|
|
"end": 1110,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 82
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 4
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "`",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1110,
|
|
"end": 1111,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1111,
|
|
"end": 1112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1112,
|
|
"end": 1113,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "document",
|
|
"start": 1123,
|
|
"end": 1131,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1131,
|
|
"end": 1132,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "querySelector",
|
|
"start": 1132,
|
|
"end": 1145,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1145,
|
|
"end": 1146,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": ".input",
|
|
"start": 1146,
|
|
"end": 1154,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1154,
|
|
"end": 1155,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1155,
|
|
"end": 1156,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "addEventListener",
|
|
"start": 1156,
|
|
"end": 1172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1172,
|
|
"end": 1173,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 53
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "change",
|
|
"start": 1173,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1181,
|
|
"end": 1182,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 63
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1183,
|
|
"end": 1184,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 1184,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 70
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1189,
|
|
"end": 1190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 71
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1191,
|
|
"end": 1193,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 72
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 74
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1194,
|
|
"end": 1195,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 76
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1203,
|
|
"end": 1207,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1207,
|
|
"end": 1208,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "keyboard",
|
|
"start": 1208,
|
|
"end": 1216,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1216,
|
|
"end": 1217,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "setInput",
|
|
"start": 1217,
|
|
"end": 1225,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1225,
|
|
"end": 1226,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 1226,
|
|
"end": 1231,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1231,
|
|
"end": 1232,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "target",
|
|
"start": 1232,
|
|
"end": 1238,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1238,
|
|
"end": 1239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "value",
|
|
"start": 1239,
|
|
"end": 1244,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1244,
|
|
"end": 1245,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1245,
|
|
"end": 1246,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1252,
|
|
"end": 1253,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1253,
|
|
"end": 1254,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1254,
|
|
"end": 1255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1259,
|
|
"end": 1260,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Handles shift functionality\r\n ",
|
|
"start": 1266,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "handleShiftButton",
|
|
"start": 1314,
|
|
"end": 1331,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1332,
|
|
"end": 1333,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1334,
|
|
"end": 1335,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1335,
|
|
"end": 1336,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1337,
|
|
"end": 1339,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1340,
|
|
"end": 1341,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "let",
|
|
"keyword": "let",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "let",
|
|
"start": 1347,
|
|
"end": 1350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 1351,
|
|
"end": 1361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1362,
|
|
"end": 1363,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1364,
|
|
"end": 1368,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1368,
|
|
"end": 1369,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 1369,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1379,
|
|
"end": 1380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "let",
|
|
"keyword": "let",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "let",
|
|
"start": 1386,
|
|
"end": 1389,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "shiftToggle",
|
|
"start": 1390,
|
|
"end": 1401,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1402,
|
|
"end": 1403,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1404,
|
|
"end": 1408,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1408,
|
|
"end": 1409,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 1409,
|
|
"end": 1419,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1420,
|
|
"end": 1421,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 1422,
|
|
"end": 1432,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "==/!=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 6,
|
|
"updateContext": null
|
|
},
|
|
"value": "===",
|
|
"start": 1433,
|
|
"end": 1436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "default",
|
|
"start": 1437,
|
|
"end": 1446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 64
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "?",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1447,
|
|
"end": 1448,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "shift",
|
|
"start": 1449,
|
|
"end": 1456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 67
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 74
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1457,
|
|
"end": 1458,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 76
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "default",
|
|
"start": 1459,
|
|
"end": 1468,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 86
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1468,
|
|
"end": 1469,
|
|
"loc": {
|
|
"start": {
|
|
"line": 60,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"column": 87
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1479,
|
|
"end": 1483,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1483,
|
|
"end": 1484,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "keyboard",
|
|
"start": 1484,
|
|
"end": 1492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1492,
|
|
"end": 1493,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "setOptions",
|
|
"start": 1493,
|
|
"end": 1503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1503,
|
|
"end": 1504,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1504,
|
|
"end": 1505,
|
|
"loc": {
|
|
"start": {
|
|
"line": 62,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 62,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "layoutName",
|
|
"start": 1513,
|
|
"end": 1523,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ":",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1523,
|
|
"end": 1524,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "shiftToggle",
|
|
"start": 1525,
|
|
"end": 1536,
|
|
"loc": {
|
|
"start": {
|
|
"line": 63,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 63,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1542,
|
|
"end": 1543,
|
|
"loc": {
|
|
"start": {
|
|
"line": 64,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1543,
|
|
"end": 1544,
|
|
"loc": {
|
|
"start": {
|
|
"line": 64,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1544,
|
|
"end": 1545,
|
|
"loc": {
|
|
"start": {
|
|
"line": 64,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 64,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1549,
|
|
"end": 1550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 65,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when simple-keyboard input has changed\r\n ",
|
|
"start": 1556,
|
|
"end": 1618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onChange",
|
|
"start": 1622,
|
|
"end": 1630,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1631,
|
|
"end": 1632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "input",
|
|
"start": 1633,
|
|
"end": 1638,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1639,
|
|
"end": 1641,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1642,
|
|
"end": 1643,
|
|
"loc": {
|
|
"start": {
|
|
"line": 70,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 70,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "document",
|
|
"start": 1649,
|
|
"end": 1657,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1657,
|
|
"end": 1658,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "querySelector",
|
|
"start": 1658,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1671,
|
|
"end": 1672,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": ".input",
|
|
"start": 1672,
|
|
"end": 1680,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1680,
|
|
"end": 1681,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1681,
|
|
"end": 1682,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "value",
|
|
"start": 1682,
|
|
"end": 1687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1688,
|
|
"end": 1689,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "input",
|
|
"start": 1690,
|
|
"end": 1695,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1695,
|
|
"end": 1696,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 71,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1700,
|
|
"end": 1701,
|
|
"loc": {
|
|
"start": {
|
|
"line": 72,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 72,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ",
|
|
"start": 1707,
|
|
"end": 1768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 74,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "onKeyPress",
|
|
"start": 1772,
|
|
"end": 1782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1783,
|
|
"end": 1784,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "button",
|
|
"start": 1785,
|
|
"end": 1791,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1792,
|
|
"end": 1794,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1795,
|
|
"end": 1796,
|
|
"loc": {
|
|
"start": {
|
|
"line": 77,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "console",
|
|
"start": 1802,
|
|
"end": 1809,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1809,
|
|
"end": 1810,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "log",
|
|
"start": 1810,
|
|
"end": 1813,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1813,
|
|
"end": 1814,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Button pressed",
|
|
"start": 1814,
|
|
"end": 1830,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1830,
|
|
"end": 1831,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "button",
|
|
"start": 1832,
|
|
"end": 1838,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1838,
|
|
"end": 1839,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1839,
|
|
"end": 1840,
|
|
"loc": {
|
|
"start": {
|
|
"line": 78,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 78,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\r\n * Shift functionality\r\n ",
|
|
"start": 1852,
|
|
"end": 1896,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 1904,
|
|
"end": 1906,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1906,
|
|
"end": 1907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "button",
|
|
"start": 1907,
|
|
"end": 1913,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "==/!=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 6,
|
|
"updateContext": null
|
|
},
|
|
"value": "===",
|
|
"start": 1914,
|
|
"end": 1917,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{lock}",
|
|
"start": 1918,
|
|
"end": 1926,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 1927,
|
|
"end": 1929,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "button",
|
|
"start": 1930,
|
|
"end": 1936,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "==/!=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 6,
|
|
"updateContext": null
|
|
},
|
|
"value": "===",
|
|
"start": 1937,
|
|
"end": 1940,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "{shift}",
|
|
"start": 1941,
|
|
"end": 1950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1950,
|
|
"end": 1951,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1961,
|
|
"end": 1965,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1965,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "handleShiftButton",
|
|
"start": 1966,
|
|
"end": 1983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1983,
|
|
"end": 1984,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1984,
|
|
"end": 1985,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1985,
|
|
"end": 1986,
|
|
"loc": {
|
|
"start": {
|
|
"line": 84,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 84,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1990,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 85,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 85,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1995,
|
|
"end": 1996,
|
|
"loc": {
|
|
"start": {
|
|
"line": 87,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"column": 1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "export",
|
|
"keyword": "export",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "export",
|
|
"start": 2000,
|
|
"end": 2006,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "default",
|
|
"keyword": "default",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "default",
|
|
"start": 2007,
|
|
"end": 2014,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "App",
|
|
"start": 2015,
|
|
"end": 2018,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2018,
|
|
"end": 2019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "eof",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2019,
|
|
"end": 2019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 89,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 89,
|
|
"column": 19
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |