2015-08-02 10:27:59 +02:00
{
"type" : "Program" ,
"body" : [
{
"type" : "ExportDefaultDeclaration" ,
"declaration" : {
"type" : "ObjectExpression" ,
"properties" : [
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "getText" ,
"range" : [
2015-08-06 07:27:09 +02:00
186 ,
193
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 12 ,
"column" : 4
} ,
"end" : {
"line" : 12 ,
"column" : 11
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "node" ,
"range" : [
2015-08-06 07:27:09 +02:00
194 ,
198
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 12 ,
"column" : 12
} ,
"end" : {
"line" : 12 ,
"column" : 16
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "VariableDeclaration" ,
"declarations" : [
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "s" ,
"range" : [
2015-08-06 07:27:09 +02:00
214 ,
215
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 12
} ,
"end" : {
"line" : 13 ,
"column" : 13
}
}
} ,
"init" : {
"type" : "LogicalExpression" ,
"operator" : "||" ,
"left" : {
"type" : "LogicalExpression" ,
"operator" : "||" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "node" ,
"range" : [
2015-08-06 07:27:09 +02:00
218 ,
222
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 16
} ,
"end" : {
"line" : 13 ,
"column" : 20
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "textContent" ,
"range" : [
2015-08-06 07:27:09 +02:00
223 ,
234
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 21
} ,
"end" : {
"line" : 13 ,
"column" : 32
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
218 ,
234
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 16
} ,
"end" : {
"line" : 13 ,
"column" : 32
}
}
} ,
"right" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "node" ,
"range" : [
2015-08-06 07:27:09 +02:00
238 ,
242
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 36
} ,
"end" : {
"line" : 13 ,
"column" : 40
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "innerText" ,
"range" : [
2015-08-06 07:27:09 +02:00
243 ,
252
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 41
} ,
"end" : {
"line" : 13 ,
"column" : 50
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
238 ,
252
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 36
} ,
"end" : {
"line" : 13 ,
"column" : 50
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
218 ,
252
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 16
} ,
"end" : {
"line" : 13 ,
"column" : 50
}
}
} ,
"right" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "node" ,
"range" : [
2015-08-06 07:27:09 +02:00
273 ,
277
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 16
} ,
"end" : {
"line" : 14 ,
"column" : 20
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "innerHTML" ,
"range" : [
2015-08-06 07:27:09 +02:00
278 ,
287
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 21
} ,
"end" : {
"line" : 14 ,
"column" : 30
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
273 ,
287
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 16
} ,
"end" : {
"line" : 14 ,
"column" : 30
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "replace" ,
"range" : [
2015-08-06 07:27:09 +02:00
288 ,
295
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 31
} ,
"end" : {
"line" : 14 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
273 ,
295
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 16
} ,
"end" : {
"line" : 14 ,
"column" : 38
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : { } ,
"raw" : "/<[^<>]+>/g" ,
"regex" : {
"pattern" : "<[^<>]+>" ,
"flags" : "g"
} ,
"range" : [
2015-08-06 07:27:09 +02:00
296 ,
307
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 39
} ,
"end" : {
"line" : 14 ,
"column" : 50
}
}
} ,
{
"type" : "Literal" ,
"value" : "" ,
"raw" : "''" ,
"range" : [
2015-08-06 07:27:09 +02:00
309 ,
311
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 52
} ,
"end" : {
"line" : 14 ,
"column" : 54
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
273 ,
312
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 14 ,
"column" : 16
} ,
"end" : {
"line" : 14 ,
"column" : 55
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
218 ,
312
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 16
} ,
"end" : {
"line" : 14 ,
"column" : 55
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
214 ,
312
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 12
} ,
"end" : {
"line" : 14 ,
"column" : 55
}
}
}
] ,
"kind" : "let" ,
"range" : [
2015-08-06 07:27:09 +02:00
210 ,
313
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 13 ,
"column" : 8
} ,
"end" : {
"line" : 14 ,
"column" : 56
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "AssignmentExpression" ,
"operator" : "=" ,
"left" : {
"type" : "Identifier" ,
"name" : "s" ,
"range" : [
2015-08-06 07:27:09 +02:00
323 ,
324
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 8
} ,
"end" : {
"line" : 15 ,
"column" : 9
}
}
} ,
"right" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "s" ,
"range" : [
2015-08-06 07:27:09 +02:00
327 ,
328
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 12
} ,
"end" : {
"line" : 15 ,
"column" : 13
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "replace" ,
"range" : [
2015-08-06 07:27:09 +02:00
329 ,
336
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 14
} ,
"end" : {
"line" : 15 ,
"column" : 21
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
327 ,
336
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 12
} ,
"end" : {
"line" : 15 ,
"column" : 21
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : { } ,
"raw" : "/^\\s+/" ,
"regex" : {
"pattern" : "^\\s+" ,
"flags" : ""
} ,
"range" : [
2015-08-06 07:27:09 +02:00
337 ,
343
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 22
} ,
"end" : {
"line" : 15 ,
"column" : 28
}
}
} ,
{
"type" : "Literal" ,
"value" : "" ,
"raw" : "''" ,
"range" : [
2015-08-06 07:27:09 +02:00
345 ,
347
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 30
} ,
"end" : {
"line" : 15 ,
"column" : 32
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
327 ,
348
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 12
} ,
"end" : {
"line" : 15 ,
"column" : 33
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "replace" ,
"range" : [
2015-08-06 07:27:09 +02:00
349 ,
356
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 34
} ,
"end" : {
"line" : 15 ,
"column" : 41
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
327 ,
356
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 12
} ,
"end" : {
"line" : 15 ,
"column" : 41
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : { } ,
"raw" : "/\\s+$/" ,
"regex" : {
"pattern" : "\\s+$" ,
"flags" : ""
} ,
"range" : [
2015-08-06 07:27:09 +02:00
357 ,
363
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 42
} ,
"end" : {
"line" : 15 ,
"column" : 48
}
}
} ,
{
"type" : "Literal" ,
"value" : "" ,
"raw" : "''" ,
"range" : [
2015-08-06 07:27:09 +02:00
365 ,
367
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 50
} ,
"end" : {
"line" : 15 ,
"column" : 52
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
327 ,
368
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 12
} ,
"end" : {
"line" : 15 ,
"column" : 53
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
323 ,
368
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 8
} ,
"end" : {
"line" : 15 ,
"column" : 53
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
323 ,
369
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 15 ,
"column" : 8
} ,
"end" : {
"line" : 15 ,
"column" : 54
}
}
} ,
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "Identifier" ,
"name" : "s" ,
"range" : [
2015-08-06 07:27:09 +02:00
386 ,
387
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 16 ,
"column" : 15
} ,
"end" : {
"line" : 16 ,
"column" : 16
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
379 ,
388
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 16 ,
"column" : 8
} ,
"end" : {
"line" : 16 ,
"column" : 17
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
199 ,
395
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 12 ,
"column" : 17
} ,
"end" : {
"line" : 17 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
193 ,
395
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 12 ,
"column" : 11
} ,
"end" : {
"line" : 17 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
186 ,
395
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 12 ,
"column" : 4
} ,
"end" : {
"line" : 17 ,
"column" : 5
}
} ,
"leadingComments" : [
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * DOM utilities\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
0 ,
2015-08-06 07:27:09 +02:00
26
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 1 ,
"column" : 0
} ,
"end" : {
"line" : 3 ,
"column" : 3
}
}
} ,
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Returns text + text of children of given node\r\n * @param {NodeElement} node\r\n * @return {String}\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
54 ,
180
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 7 ,
"column" : 4
} ,
"end" : {
"line" : 11 ,
"column" : 7
}
}
}
]
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "create" ,
"range" : [
2015-08-06 07:27:09 +02:00
759 ,
765
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 26 ,
"column" : 4
} ,
"end" : {
"line" : 26 ,
"column" : 10
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "tag" ,
"range" : [
2015-08-06 07:27:09 +02:00
766 ,
769
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 26 ,
"column" : 11
} ,
"end" : {
"line" : 26 ,
"column" : 14
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "IfStatement" ,
"test" : {
"type" : "LogicalExpression" ,
"operator" : "||" ,
"left" : {
"type" : "UnaryExpression" ,
"operator" : "!" ,
"argument" : {
"type" : "Identifier" ,
"name" : "tag" ,
"range" : [
2015-08-06 07:27:09 +02:00
785 ,
788
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 12
} ,
"end" : {
"line" : 27 ,
"column" : 15
}
}
} ,
"prefix" : true ,
"range" : [
2015-08-06 07:27:09 +02:00
784 ,
788
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 11
} ,
"end" : {
"line" : 27 ,
"column" : 15
}
}
} ,
"right" : {
"type" : "BinaryExpression" ,
"operator" : "===" ,
"left" : {
"type" : "Identifier" ,
"name" : "tag" ,
"range" : [
2015-08-06 07:27:09 +02:00
792 ,
795
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 19
} ,
"end" : {
"line" : 27 ,
"column" : 22
}
}
} ,
"right" : {
"type" : "Literal" ,
"value" : "" ,
"raw" : "''" ,
"range" : [
2015-08-06 07:27:09 +02:00
798 ,
800
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 25
} ,
"end" : {
"line" : 27 ,
"column" : 27
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
792 ,
800
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 19
} ,
"end" : {
"line" : 27 ,
"column" : 27
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
784 ,
800
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 11
} ,
"end" : {
"line" : 27 ,
"column" : 27
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
816 ,
823
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 28 ,
"column" : 12
} ,
"end" : {
"line" : 28 ,
"column" : 19
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
801 ,
834
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 28
} ,
"end" : {
"line" : 29 ,
"column" : 9
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
781 ,
834
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 27 ,
"column" : 8
} ,
"end" : {
"line" : 29 ,
"column" : 9
}
}
} ,
{
"type" : "VariableDeclaration" ,
"declarations" : [
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "el" ,
"range" : [
2015-08-06 07:27:09 +02:00
850 ,
852
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 12
} ,
"end" : {
"line" : 31 ,
"column" : 14
}
}
} ,
"init" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "document" ,
"range" : [
2015-08-06 07:27:09 +02:00
855 ,
863
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 17
} ,
"end" : {
"line" : 31 ,
"column" : 25
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "createElement" ,
"range" : [
2015-08-06 07:27:09 +02:00
864 ,
877
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 26
} ,
"end" : {
"line" : 31 ,
"column" : 39
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
855 ,
877
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 17
} ,
"end" : {
"line" : 31 ,
"column" : 39
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "tag" ,
"range" : [
2015-08-06 07:27:09 +02:00
878 ,
881
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 40
} ,
"end" : {
"line" : 31 ,
"column" : 43
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
855 ,
882
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 17
} ,
"end" : {
"line" : 31 ,
"column" : 44
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
850 ,
882
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 12
} ,
"end" : {
"line" : 31 ,
"column" : 44
}
}
} ,
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "args" ,
"range" : [
2015-08-06 07:27:09 +02:00
897 ,
901
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 32 ,
"column" : 12
} ,
"end" : {
"line" : 32 ,
"column" : 16
}
}
} ,
"init" : {
"type" : "Identifier" ,
"name" : "arguments" ,
"range" : [
2015-08-06 07:27:09 +02:00
904 ,
913
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 32 ,
"column" : 19
} ,
"end" : {
"line" : 32 ,
"column" : 28
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
897 ,
913
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 32 ,
"column" : 12
} ,
"end" : {
"line" : 32 ,
"column" : 28
}
}
}
] ,
"kind" : "let" ,
"range" : [
2015-08-06 07:27:09 +02:00
846 ,
914
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 31 ,
"column" : 8
} ,
"end" : {
"line" : 32 ,
"column" : 29
}
}
} ,
{
"type" : "IfStatement" ,
"test" : {
"type" : "BinaryExpression" ,
"operator" : ">" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "args" ,
"range" : [
2015-08-06 07:27:09 +02:00
929 ,
933
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 34 ,
"column" : 11
} ,
"end" : {
"line" : 34 ,
"column" : 15
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "length" ,
"range" : [
2015-08-06 07:27:09 +02:00
934 ,
940
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 34 ,
"column" : 16
} ,
"end" : {
"line" : 34 ,
"column" : 22
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
929 ,
940
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 34 ,
"column" : 11
} ,
"end" : {
"line" : 34 ,
"column" : 22
}
}
} ,
"right" : {
"type" : "Literal" ,
"value" : 1 ,
"raw" : "1" ,
"range" : [
2015-08-06 07:27:09 +02:00
943 ,
944
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 34 ,
"column" : 25
} ,
"end" : {
"line" : 34 ,
"column" : 26
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
929 ,
944
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 34 ,
"column" : 11
} ,
"end" : {
"line" : 34 ,
"column" : 26
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ForStatement" ,
"init" : {
"type" : "VariableDeclaration" ,
"declarations" : [
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "i" ,
"range" : [
2015-08-06 07:27:09 +02:00
968 ,
969
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 20
} ,
"end" : {
"line" : 35 ,
"column" : 21
}
}
} ,
"init" : {
"type" : "Literal" ,
"value" : 0 ,
"raw" : "0" ,
"range" : [
2015-08-06 07:27:09 +02:00
970 ,
971
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 22
} ,
"end" : {
"line" : 35 ,
"column" : 23
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
968 ,
971
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 20
} ,
"end" : {
"line" : 35 ,
"column" : 23
}
}
}
] ,
"kind" : "let" ,
"range" : [
2015-08-06 07:27:09 +02:00
964 ,
971
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 16
} ,
"end" : {
"line" : 35 ,
"column" : 23
}
}
} ,
"test" : {
"type" : "BinaryExpression" ,
"operator" : "<" ,
"left" : {
"type" : "Identifier" ,
"name" : "i" ,
"range" : [
2015-08-06 07:27:09 +02:00
973 ,
974
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 25
} ,
"end" : {
"line" : 35 ,
"column" : 26
}
}
} ,
"right" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "args" ,
"range" : [
2015-08-06 07:27:09 +02:00
975 ,
979
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 27
} ,
"end" : {
"line" : 35 ,
"column" : 31
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "length" ,
"range" : [
2015-08-06 07:27:09 +02:00
980 ,
986
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 32
} ,
"end" : {
"line" : 35 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
975 ,
986
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 27
} ,
"end" : {
"line" : 35 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
973 ,
986
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 25
} ,
"end" : {
"line" : 35 ,
"column" : 38
}
}
} ,
"update" : {
"type" : "UpdateExpression" ,
"operator" : "++" ,
"argument" : {
"type" : "Identifier" ,
"name" : "i" ,
"range" : [
2015-08-06 07:27:09 +02:00
988 ,
989
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 40
} ,
"end" : {
"line" : 35 ,
"column" : 41
}
}
} ,
"prefix" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
988 ,
991
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 40
} ,
"end" : {
"line" : 35 ,
"column" : 43
}
}
} ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "VariableDeclaration" ,
"declarations" : [
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "argtype" ,
"range" : [
2015-08-06 07:27:09 +02:00
1015 ,
1022
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 36 ,
"column" : 20
} ,
"end" : {
"line" : 36 ,
"column" : 27
}
}
} ,
"init" : {
"type" : "UnaryExpression" ,
"operator" : "typeof" ,
"argument" : {
"type" : "MemberExpression" ,
"computed" : true ,
"object" : {
"type" : "Identifier" ,
"name" : "args" ,
"range" : [
2015-08-06 07:27:09 +02:00
1032 ,
1036
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 36 ,
"column" : 37
} ,
"end" : {
"line" : 36 ,
"column" : 41
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "i" ,
"range" : [
2015-08-06 07:27:09 +02:00
1037 ,
1038
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 36 ,
"column" : 42
} ,
"end" : {
"line" : 36 ,
"column" : 43
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1032 ,
1039
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 36 ,
"column" : 37
} ,
"end" : {
"line" : 36 ,
"column" : 44
}
}
} ,
"prefix" : true ,
"range" : [
2015-08-06 07:27:09 +02:00
1025 ,
1039
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 36 ,
"column" : 30
} ,
"end" : {
"line" : 36 ,
"column" : 44
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1015 ,
1039
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 36 ,
"column" : 20
} ,
"end" : {
"line" : 36 ,
"column" : 44
}
}
}
] ,
"kind" : "let" ,
"range" : [
2015-08-06 07:27:09 +02:00
1011 ,
1040
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 36 ,
"column" : 16
} ,
"end" : {
"line" : 36 ,
"column" : 45
}
}
} ,
{
"type" : "IfStatement" ,
"test" : {
"type" : "LogicalExpression" ,
"operator" : "&&" ,
"left" : {
"type" : "BinaryExpression" ,
"operator" : "===" ,
"left" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "argtype" ,
"range" : [
2015-08-06 07:27:09 +02:00
1061 ,
1068
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 19
} ,
"end" : {
"line" : 37 ,
"column" : 26
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "toLowerCase" ,
"range" : [
2015-08-06 07:27:09 +02:00
1069 ,
1080
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 27
} ,
"end" : {
"line" : 37 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1061 ,
1080
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 19
} ,
"end" : {
"line" : 37 ,
"column" : 38
}
}
} ,
"arguments" : [ ] ,
"range" : [
2015-08-06 07:27:09 +02:00
1061 ,
1082
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 19
} ,
"end" : {
"line" : 37 ,
"column" : 40
}
}
} ,
"right" : {
"type" : "Literal" ,
"value" : "object" ,
"raw" : "'object'" ,
"range" : [
2015-08-06 07:27:09 +02:00
1087 ,
1095
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 45
} ,
"end" : {
"line" : 37 ,
"column" : 53
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1061 ,
1095
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 19
} ,
"end" : {
"line" : 37 ,
"column" : 53
}
}
} ,
"right" : {
"type" : "BinaryExpression" ,
"operator" : "===" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : true ,
"object" : {
"type" : "Identifier" ,
"name" : "args" ,
"range" : [
2015-08-06 07:27:09 +02:00
1099 ,
1103
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 57
} ,
"end" : {
"line" : 37 ,
"column" : 61
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "i" ,
"range" : [
2015-08-06 07:27:09 +02:00
1104 ,
1105
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 62
} ,
"end" : {
"line" : 37 ,
"column" : 63
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1099 ,
1106
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 57
} ,
"end" : {
"line" : 37 ,
"column" : 64
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "length" ,
"range" : [
2015-08-06 07:27:09 +02:00
1107 ,
1113
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 65
} ,
"end" : {
"line" : 37 ,
"column" : 71
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1099 ,
1113
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 57
} ,
"end" : {
"line" : 37 ,
"column" : 71
}
}
} ,
"right" : {
"type" : "Literal" ,
"value" : 2 ,
"raw" : "2" ,
"range" : [
2015-08-06 07:27:09 +02:00
1118 ,
1119
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 76
} ,
"end" : {
"line" : 37 ,
"column" : 77
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1099 ,
1119
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 57
} ,
"end" : {
"line" : 37 ,
"column" : 77
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1061 ,
1119
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 19
} ,
"end" : {
"line" : 37 ,
"column" : 77
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "el" ,
"range" : [
2015-08-06 07:27:09 +02:00
1143 ,
1145
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 20
} ,
"end" : {
"line" : 38 ,
"column" : 22
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "setAttribute" ,
"range" : [
2015-08-06 07:27:09 +02:00
1146 ,
1158
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 23
} ,
"end" : {
"line" : 38 ,
"column" : 35
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1143 ,
1158
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 20
} ,
"end" : {
"line" : 38 ,
"column" : 35
}
}
} ,
"arguments" : [
{
"type" : "MemberExpression" ,
"computed" : true ,
"object" : {
"type" : "MemberExpression" ,
"computed" : true ,
"object" : {
"type" : "Identifier" ,
"name" : "args" ,
"range" : [
2015-08-06 07:27:09 +02:00
1159 ,
1163
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 36
} ,
"end" : {
"line" : 38 ,
"column" : 40
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "i" ,
"range" : [
2015-08-06 07:27:09 +02:00
1164 ,
1165
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 41
} ,
"end" : {
"line" : 38 ,
"column" : 42
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1159 ,
1166
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 36
} ,
"end" : {
"line" : 38 ,
"column" : 43
}
}
} ,
"property" : {
"type" : "Literal" ,
"value" : 0 ,
"raw" : "0" ,
"range" : [
2015-08-06 07:27:09 +02:00
1167 ,
1168
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 44
} ,
"end" : {
"line" : 38 ,
"column" : 45
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1159 ,
1169
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 36
} ,
"end" : {
"line" : 38 ,
"column" : 46
}
}
} ,
{
"type" : "MemberExpression" ,
"computed" : true ,
"object" : {
"type" : "MemberExpression" ,
"computed" : true ,
"object" : {
"type" : "Identifier" ,
"name" : "args" ,
"range" : [
2015-08-06 07:27:09 +02:00
1171 ,
1175
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 48
} ,
"end" : {
"line" : 38 ,
"column" : 52
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "i" ,
"range" : [
2015-08-06 07:27:09 +02:00
1176 ,
1177
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 53
} ,
"end" : {
"line" : 38 ,
"column" : 54
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1171 ,
1178
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 48
} ,
"end" : {
"line" : 38 ,
"column" : 55
}
}
} ,
"property" : {
"type" : "Literal" ,
"value" : 1 ,
"raw" : "1" ,
"range" : [
2015-08-06 07:27:09 +02:00
1179 ,
1180
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 56
} ,
"end" : {
"line" : 38 ,
"column" : 57
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1171 ,
1181
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 48
} ,
"end" : {
"line" : 38 ,
"column" : 58
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1143 ,
1182
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 20
} ,
"end" : {
"line" : 38 ,
"column" : 59
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1143 ,
1183
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 38 ,
"column" : 20
} ,
"end" : {
"line" : 38 ,
"column" : 60
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1120 ,
1202
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 78
} ,
"end" : {
"line" : 39 ,
"column" : 17
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1058 ,
1202
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 37 ,
"column" : 16
} ,
"end" : {
"line" : 39 ,
"column" : 17
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
992 ,
1217
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 44
} ,
"end" : {
"line" : 40 ,
"column" : 13
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
960 ,
1217
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 35 ,
"column" : 12
} ,
"end" : {
"line" : 40 ,
"column" : 13
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
945 ,
1228
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 34 ,
"column" : 27
} ,
"end" : {
"line" : 41 ,
"column" : 9
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
926 ,
1228
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 34 ,
"column" : 8
} ,
"end" : {
"line" : 41 ,
"column" : 9
}
}
} ,
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "Identifier" ,
"name" : "el" ,
"range" : [
2015-08-06 07:27:09 +02:00
1245 ,
1247
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 42 ,
"column" : 15
} ,
"end" : {
"line" : 42 ,
"column" : 17
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1238 ,
1248
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 42 ,
"column" : 8
} ,
"end" : {
"line" : 42 ,
"column" : 18
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
770 ,
1255
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 26 ,
"column" : 15
} ,
"end" : {
"line" : 43 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
765 ,
1255
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 26 ,
"column" : 10
} ,
"end" : {
"line" : 43 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
759 ,
1255
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 26 ,
"column" : 4
} ,
"end" : {
"line" : 43 ,
"column" : 5
}
} ,
"leadingComments" : [
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Creates an html element with given collection of attributes\r\n * @param {String} tag a string of the html tag to create\r\n * @param {Array} an undetermined number of arrays containing the with 2\r\n * items, the attribute name and its value ['id','myId']\r\n * @return {Object} created element\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
404 ,
753
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 19 ,
"column" : 4
} ,
"end" : {
"line" : 25 ,
"column" : 7
}
}
}
]
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "text" ,
"range" : [
2015-08-06 07:27:09 +02:00
1380 ,
1384
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 50 ,
"column" : 4
} ,
"end" : {
"line" : 50 ,
"column" : 8
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "txt" ,
"range" : [
2015-08-06 07:27:09 +02:00
1385 ,
1388
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 50 ,
"column" : 9
} ,
"end" : {
"line" : 50 ,
"column" : 12
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "document" ,
"range" : [
2015-08-06 07:27:09 +02:00
1407 ,
1415
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 51 ,
"column" : 15
} ,
"end" : {
"line" : 51 ,
"column" : 23
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "createTextNode" ,
"range" : [
2015-08-06 07:27:09 +02:00
1416 ,
1430
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 51 ,
"column" : 24
} ,
"end" : {
"line" : 51 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1407 ,
1430
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 51 ,
"column" : 15
} ,
"end" : {
"line" : 51 ,
"column" : 38
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "txt" ,
"range" : [
2015-08-06 07:27:09 +02:00
1431 ,
1434
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 51 ,
"column" : 39
} ,
"end" : {
"line" : 51 ,
"column" : 42
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1407 ,
1435
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 51 ,
"column" : 15
} ,
"end" : {
"line" : 51 ,
"column" : 43
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1400 ,
1436
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 51 ,
"column" : 8
} ,
"end" : {
"line" : 51 ,
"column" : 44
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1389 ,
1443
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 50 ,
"column" : 13
} ,
"end" : {
"line" : 52 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
1384 ,
1443
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 50 ,
"column" : 8
} ,
"end" : {
"line" : 52 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
1380 ,
1443
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 50 ,
"column" : 4
} ,
"end" : {
"line" : 52 ,
"column" : 5
}
} ,
"leadingComments" : [
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Returns a text node with given text\r\n * @param {String} txt\r\n * @return {Object}\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
1264 ,
1374
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 45 ,
"column" : 4
} ,
"end" : {
"line" : 49 ,
"column" : 7
}
}
}
]
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "hasClass" ,
"range" : [
2015-08-06 07:27:09 +02:00
1452 ,
1460
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 54 ,
"column" : 4
} ,
"end" : {
"line" : 54 ,
"column" : 12
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1461 ,
1464
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 54 ,
"column" : 13
} ,
"end" : {
"line" : 54 ,
"column" : 16
}
}
} ,
{
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
1466 ,
1469
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 54 ,
"column" : 18
} ,
"end" : {
"line" : 54 ,
"column" : 21
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "IfStatement" ,
"test" : {
"type" : "UnaryExpression" ,
"operator" : "!" ,
"argument" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1485 ,
1488
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 55 ,
"column" : 12
} ,
"end" : {
"line" : 55 ,
"column" : 15
}
}
} ,
"prefix" : true ,
"range" : [
2015-08-06 07:27:09 +02:00
1484 ,
1488
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 55 ,
"column" : 11
} ,
"end" : {
"line" : 55 ,
"column" : 15
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "Literal" ,
"value" : false ,
"raw" : "false" ,
"range" : [
2015-08-06 07:27:09 +02:00
1498 ,
1503
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 55 ,
"column" : 25
} ,
"end" : {
"line" : 55 ,
"column" : 30
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1491 ,
1504
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 55 ,
"column" : 18
} ,
"end" : {
"line" : 55 ,
"column" : 31
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1489 ,
1506
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 55 ,
"column" : 16
} ,
"end" : {
"line" : 55 ,
"column" : 33
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1481 ,
1506
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 55 ,
"column" : 8
} ,
"end" : {
"line" : 55 ,
"column" : 33
}
}
} ,
{
"type" : "IfStatement" ,
"test" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "Identifier" ,
"name" : "supportsClassList" ,
"range" : [
2015-08-06 07:27:09 +02:00
1521 ,
1538
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 57 ,
"column" : 11
} ,
"end" : {
"line" : 57 ,
"column" : 28
}
}
} ,
"arguments" : [ ] ,
"range" : [
2015-08-06 07:27:09 +02:00
1521 ,
1540
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 57 ,
"column" : 11
} ,
"end" : {
"line" : 57 ,
"column" : 30
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1563 ,
1566
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 19
} ,
"end" : {
"line" : 58 ,
"column" : 22
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "classList" ,
"range" : [
2015-08-06 07:27:09 +02:00
1567 ,
1576
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 23
} ,
"end" : {
"line" : 58 ,
"column" : 32
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1563 ,
1576
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 19
} ,
"end" : {
"line" : 58 ,
"column" : 32
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "contains" ,
"range" : [
2015-08-06 07:27:09 +02:00
1577 ,
1585
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 33
} ,
"end" : {
"line" : 58 ,
"column" : 41
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1563 ,
1585
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 19
} ,
"end" : {
"line" : 58 ,
"column" : 41
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
1586 ,
1589
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 42
} ,
"end" : {
"line" : 58 ,
"column" : 45
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1563 ,
1590
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 19
} ,
"end" : {
"line" : 58 ,
"column" : 46
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1556 ,
1591
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 58 ,
"column" : 12
} ,
"end" : {
"line" : 58 ,
"column" : 47
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1541 ,
1602
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 57 ,
"column" : 31
} ,
"end" : {
"line" : 59 ,
"column" : 9
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1518 ,
1602
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 57 ,
"column" : 8
} ,
"end" : {
"line" : 59 ,
"column" : 9
}
}
} ,
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1619 ,
1622
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 15
} ,
"end" : {
"line" : 60 ,
"column" : 18
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "className" ,
"range" : [
2015-08-06 07:27:09 +02:00
1623 ,
1632
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 19
} ,
"end" : {
"line" : 60 ,
"column" : 28
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1619 ,
1632
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 15
} ,
"end" : {
"line" : 60 ,
"column" : 28
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "match" ,
"range" : [
2015-08-06 07:27:09 +02:00
1633 ,
1638
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 29
} ,
"end" : {
"line" : 60 ,
"column" : 34
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1619 ,
1638
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 15
} ,
"end" : {
"line" : 60 ,
"column" : 34
}
}
} ,
"arguments" : [
{
"type" : "NewExpression" ,
"callee" : {
"type" : "Identifier" ,
"name" : "RegExp" ,
"range" : [
2015-08-06 07:27:09 +02:00
1643 ,
1649
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 39
} ,
"end" : {
"line" : 60 ,
"column" : 45
}
}
} ,
"arguments" : [
{
"type" : "BinaryExpression" ,
"operator" : "+" ,
"left" : {
"type" : "BinaryExpression" ,
"operator" : "+" ,
"left" : {
"type" : "Literal" ,
"value" : "(\\s|^)" ,
"raw" : "'(\\\\s|^)'" ,
"range" : [
2015-08-06 07:27:09 +02:00
1650 ,
1659
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 46
} ,
"end" : {
"line" : 60 ,
"column" : 55
}
}
} ,
"right" : {
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
1661 ,
1664
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 57
} ,
"end" : {
"line" : 60 ,
"column" : 60
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1650 ,
1664
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 46
} ,
"end" : {
"line" : 60 ,
"column" : 60
}
}
} ,
"right" : {
"type" : "Literal" ,
"value" : "(\\s|$)" ,
"raw" : "'(\\\\s|$)'" ,
"range" : [
2015-08-06 07:27:09 +02:00
1666 ,
1675
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 62
} ,
"end" : {
"line" : 60 ,
"column" : 71
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1650 ,
1675
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 46
} ,
"end" : {
"line" : 60 ,
"column" : 71
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1639 ,
1676
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 35
} ,
"end" : {
"line" : 60 ,
"column" : 72
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1619 ,
1677
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 15
} ,
"end" : {
"line" : 60 ,
"column" : 73
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1612 ,
1678
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 60 ,
"column" : 8
} ,
"end" : {
"line" : 60 ,
"column" : 74
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1470 ,
1685
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 54 ,
"column" : 22
} ,
"end" : {
"line" : 61 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
1460 ,
1685
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 54 ,
"column" : 12
} ,
"end" : {
"line" : 61 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
1452 ,
1685
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 54 ,
"column" : 4
} ,
"end" : {
"line" : 61 ,
"column" : 5
}
}
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "addClass" ,
"range" : [
2015-08-06 07:27:09 +02:00
1694 ,
1702
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 63 ,
"column" : 4
} ,
"end" : {
"line" : 63 ,
"column" : 12
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1703 ,
1706
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 63 ,
"column" : 13
} ,
"end" : {
"line" : 63 ,
"column" : 16
}
}
} ,
{
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
1708 ,
1711
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 63 ,
"column" : 18
} ,
"end" : {
"line" : 63 ,
"column" : 21
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "IfStatement" ,
"test" : {
"type" : "UnaryExpression" ,
"operator" : "!" ,
"argument" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1727 ,
1730
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 64 ,
"column" : 12
} ,
"end" : {
"line" : 64 ,
"column" : 15
}
}
} ,
"prefix" : true ,
"range" : [
2015-08-06 07:27:09 +02:00
1726 ,
1730
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 64 ,
"column" : 11
} ,
"end" : {
"line" : 64 ,
"column" : 15
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1733 ,
1740
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 64 ,
"column" : 18
} ,
"end" : {
"line" : 64 ,
"column" : 25
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1731 ,
1742
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 64 ,
"column" : 16
} ,
"end" : {
"line" : 64 ,
"column" : 27
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1723 ,
1742
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 64 ,
"column" : 8
} ,
"end" : {
"line" : 64 ,
"column" : 27
}
}
} ,
{
"type" : "IfStatement" ,
"test" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "Identifier" ,
"name" : "supportsClassList" ,
"range" : [
2015-08-06 07:27:09 +02:00
1757 ,
1774
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 66 ,
"column" : 11
} ,
"end" : {
"line" : 66 ,
"column" : 28
}
}
} ,
"arguments" : [ ] ,
"range" : [
2015-08-06 07:27:09 +02:00
1757 ,
1776
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 66 ,
"column" : 11
} ,
"end" : {
"line" : 66 ,
"column" : 30
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1792 ,
1795
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 12
} ,
"end" : {
"line" : 67 ,
"column" : 15
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "classList" ,
"range" : [
2015-08-06 07:27:09 +02:00
1796 ,
1805
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 16
} ,
"end" : {
"line" : 67 ,
"column" : 25
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1792 ,
1805
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 12
} ,
"end" : {
"line" : 67 ,
"column" : 25
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "add" ,
"range" : [
2015-08-06 07:27:09 +02:00
1806 ,
1809
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 26
} ,
"end" : {
"line" : 67 ,
"column" : 29
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1792 ,
1809
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 12
} ,
"end" : {
"line" : 67 ,
"column" : 29
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
1810 ,
1813
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 30
} ,
"end" : {
"line" : 67 ,
"column" : 33
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1792 ,
1814
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 12
} ,
"end" : {
"line" : 67 ,
"column" : 34
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1792 ,
1815
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 67 ,
"column" : 12
} ,
"end" : {
"line" : 67 ,
"column" : 35
}
}
} ,
{
"type" : "ReturnStatement" ,
"argument" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1829 ,
1836
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 68 ,
"column" : 12
} ,
"end" : {
"line" : 68 ,
"column" : 19
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1777 ,
1847
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 66 ,
"column" : 31
} ,
"end" : {
"line" : 69 ,
"column" : 9
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1754 ,
1847
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 66 ,
"column" : 8
} ,
"end" : {
"line" : 69 ,
"column" : 9
}
}
} ,
{
"type" : "IfStatement" ,
"test" : {
"type" : "BinaryExpression" ,
"operator" : "===" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1862 ,
1865
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 71 ,
"column" : 11
} ,
"end" : {
"line" : 71 ,
"column" : 14
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "className" ,
"range" : [
2015-08-06 07:27:09 +02:00
1866 ,
1875
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 71 ,
"column" : 15
} ,
"end" : {
"line" : 71 ,
"column" : 24
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1862 ,
1875
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 71 ,
"column" : 11
} ,
"end" : {
"line" : 71 ,
"column" : 24
}
}
} ,
"right" : {
"type" : "Literal" ,
"value" : "" ,
"raw" : "''" ,
"range" : [
2015-08-06 07:27:09 +02:00
1880 ,
1882
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 71 ,
"column" : 29
} ,
"end" : {
"line" : 71 ,
"column" : 31
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1862 ,
1882
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 71 ,
"column" : 11
} ,
"end" : {
"line" : 71 ,
"column" : 31
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "AssignmentExpression" ,
"operator" : "=" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1898 ,
1901
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 72 ,
"column" : 12
} ,
"end" : {
"line" : 72 ,
"column" : 15
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "className" ,
"range" : [
2015-08-06 07:27:09 +02:00
1902 ,
1911
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 72 ,
"column" : 16
} ,
"end" : {
"line" : 72 ,
"column" : 25
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1898 ,
1911
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 72 ,
"column" : 12
} ,
"end" : {
"line" : 72 ,
"column" : 25
}
}
} ,
"right" : {
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
1914 ,
1917
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 72 ,
"column" : 28
} ,
"end" : {
"line" : 72 ,
"column" : 31
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1898 ,
1917
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 72 ,
"column" : 12
} ,
"end" : {
"line" : 72 ,
"column" : 31
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1898 ,
1918
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 72 ,
"column" : 12
} ,
"end" : {
"line" : 72 ,
"column" : 32
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1883 ,
1929
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 71 ,
"column" : 32
} ,
"end" : {
"line" : 73 ,
"column" : 9
}
}
} ,
"alternate" : {
"type" : "IfStatement" ,
"test" : {
"type" : "UnaryExpression" ,
"operator" : "!" ,
"argument" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
1948 ,
1952
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 17
} ,
"end" : {
"line" : 74 ,
"column" : 21
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "hasClass" ,
"range" : [
2015-08-06 07:27:09 +02:00
1953 ,
1961
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 22
} ,
"end" : {
"line" : 74 ,
"column" : 30
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1948 ,
1961
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 17
} ,
"end" : {
"line" : 74 ,
"column" : 30
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1962 ,
1965
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 31
} ,
"end" : {
"line" : 74 ,
"column" : 34
}
}
} ,
{
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
1967 ,
1970
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 36
} ,
"end" : {
"line" : 74 ,
"column" : 39
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1948 ,
1971
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 17
} ,
"end" : {
"line" : 74 ,
"column" : 40
}
}
} ,
"prefix" : true ,
"range" : [
2015-08-06 07:27:09 +02:00
1947 ,
1971
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 16
} ,
"end" : {
"line" : 74 ,
"column" : 40
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "AssignmentExpression" ,
"operator" : "+=" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
1987 ,
1990
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 12
} ,
"end" : {
"line" : 75 ,
"column" : 15
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "className" ,
"range" : [
2015-08-06 07:27:09 +02:00
1991 ,
2000
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 16
} ,
"end" : {
"line" : 75 ,
"column" : 25
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1987 ,
2000
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 12
} ,
"end" : {
"line" : 75 ,
"column" : 25
}
}
} ,
"right" : {
"type" : "BinaryExpression" ,
"operator" : "+" ,
"left" : {
"type" : "Literal" ,
"value" : " " ,
"raw" : "' '" ,
"range" : [
2015-08-06 07:27:09 +02:00
2004 ,
2007
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 29
} ,
"end" : {
"line" : 75 ,
"column" : 32
}
}
} ,
"right" : {
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
2010 ,
2013
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 35
} ,
"end" : {
"line" : 75 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2004 ,
2013
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 29
} ,
"end" : {
"line" : 75 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1987 ,
2013
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 12
} ,
"end" : {
"line" : 75 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1987 ,
2014
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 75 ,
"column" : 12
} ,
"end" : {
"line" : 75 ,
"column" : 39
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1972 ,
2025
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 41
} ,
"end" : {
"line" : 76 ,
"column" : 9
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
1944 ,
2025
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 74 ,
"column" : 13
} ,
"end" : {
"line" : 76 ,
"column" : 9
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
1859 ,
2025
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 71 ,
"column" : 8
} ,
"end" : {
"line" : 76 ,
"column" : 9
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
1712 ,
2032
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 63 ,
"column" : 22
} ,
"end" : {
"line" : 77 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
1702 ,
2032
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 63 ,
"column" : 12
} ,
"end" : {
"line" : 77 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
1694 ,
2032
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 63 ,
"column" : 4
} ,
"end" : {
"line" : 77 ,
"column" : 5
}
}
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "removeClass" ,
"range" : [
2015-08-06 07:27:09 +02:00
2041 ,
2052
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 79 ,
"column" : 4
} ,
"end" : {
"line" : 79 ,
"column" : 15
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
2053 ,
2056
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 79 ,
"column" : 16
} ,
"end" : {
"line" : 79 ,
"column" : 19
}
}
} ,
{
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
2058 ,
2061
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 79 ,
"column" : 21
} ,
"end" : {
"line" : 79 ,
"column" : 24
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "IfStatement" ,
"test" : {
"type" : "UnaryExpression" ,
"operator" : "!" ,
"argument" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
2077 ,
2080
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 80 ,
"column" : 12
} ,
"end" : {
"line" : 80 ,
"column" : 15
}
}
} ,
"prefix" : true ,
"range" : [
2015-08-06 07:27:09 +02:00
2076 ,
2080
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 80 ,
"column" : 11
} ,
"end" : {
"line" : 80 ,
"column" : 15
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
2083 ,
2090
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 80 ,
"column" : 18
} ,
"end" : {
"line" : 80 ,
"column" : 25
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2081 ,
2092
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 80 ,
"column" : 16
} ,
"end" : {
"line" : 80 ,
"column" : 27
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
2073 ,
2092
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 80 ,
"column" : 8
} ,
"end" : {
"line" : 80 ,
"column" : 27
}
}
} ,
{
"type" : "IfStatement" ,
"test" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "Identifier" ,
"name" : "supportsClassList" ,
"range" : [
2015-08-06 07:27:09 +02:00
2107 ,
2124
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 82 ,
"column" : 11
} ,
"end" : {
"line" : 82 ,
"column" : 28
}
}
} ,
"arguments" : [ ] ,
"range" : [
2015-08-06 07:27:09 +02:00
2107 ,
2126
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 82 ,
"column" : 11
} ,
"end" : {
"line" : 82 ,
"column" : 30
}
}
} ,
"consequent" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
2142 ,
2145
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 12
} ,
"end" : {
"line" : 83 ,
"column" : 15
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "classList" ,
"range" : [
2015-08-06 07:27:09 +02:00
2146 ,
2155
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 16
} ,
"end" : {
"line" : 83 ,
"column" : 25
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2142 ,
2155
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 12
} ,
"end" : {
"line" : 83 ,
"column" : 25
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "remove" ,
"range" : [
2015-08-06 07:27:09 +02:00
2156 ,
2162
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 26
} ,
"end" : {
"line" : 83 ,
"column" : 32
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2142 ,
2162
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 12
} ,
"end" : {
"line" : 83 ,
"column" : 32
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
2163 ,
2166
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 33
} ,
"end" : {
"line" : 83 ,
"column" : 36
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2142 ,
2167
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 12
} ,
"end" : {
"line" : 83 ,
"column" : 37
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2142 ,
2168
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 83 ,
"column" : 12
} ,
"end" : {
"line" : 83 ,
"column" : 38
}
}
} ,
{
"type" : "ReturnStatement" ,
"argument" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
2182 ,
2189
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 84 ,
"column" : 12
} ,
"end" : {
"line" : 84 ,
"column" : 19
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2127 ,
2200
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 82 ,
"column" : 31
} ,
"end" : {
"line" : 85 ,
"column" : 9
}
}
} ,
"alternate" : null ,
"range" : [
2015-08-06 07:27:09 +02:00
2104 ,
2200
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 82 ,
"column" : 8
} ,
"end" : {
"line" : 85 ,
"column" : 9
}
}
} ,
{
"type" : "VariableDeclaration" ,
"declarations" : [
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "reg" ,
"range" : [
2015-08-06 07:27:09 +02:00
2214 ,
2217
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 12
} ,
"end" : {
"line" : 86 ,
"column" : 15
}
}
} ,
"init" : {
"type" : "NewExpression" ,
"callee" : {
"type" : "Identifier" ,
"name" : "RegExp" ,
"range" : [
2015-08-06 07:27:09 +02:00
2224 ,
2230
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 22
} ,
"end" : {
"line" : 86 ,
"column" : 28
}
}
} ,
"arguments" : [
{
"type" : "BinaryExpression" ,
"operator" : "+" ,
"left" : {
"type" : "BinaryExpression" ,
"operator" : "+" ,
"left" : {
"type" : "Literal" ,
"value" : "(\\s|^)" ,
"raw" : "'(\\\\s|^)'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2231 ,
2240
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 29
} ,
"end" : {
"line" : 86 ,
"column" : 38
}
}
} ,
"right" : {
"type" : "Identifier" ,
"name" : "cls" ,
"range" : [
2015-08-06 07:27:09 +02:00
2242 ,
2245
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 40
} ,
"end" : {
"line" : 86 ,
"column" : 43
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2231 ,
2245
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 29
} ,
"end" : {
"line" : 86 ,
"column" : 43
}
}
} ,
"right" : {
"type" : "Literal" ,
"value" : "(\\s|$)" ,
"raw" : "'(\\\\s|$)'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2247 ,
2256
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 45
} ,
"end" : {
"line" : 86 ,
"column" : 54
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2231 ,
2256
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 29
} ,
"end" : {
"line" : 86 ,
"column" : 54
}
}
} ,
{
"type" : "Literal" ,
"value" : "g" ,
"raw" : "'g'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2258 ,
2261
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 56
} ,
"end" : {
"line" : 86 ,
"column" : 59
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2220 ,
2262
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 18
} ,
"end" : {
"line" : 86 ,
"column" : 60
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2214 ,
2262
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 12
} ,
"end" : {
"line" : 86 ,
"column" : 60
}
}
}
] ,
"kind" : "let" ,
"range" : [
2015-08-06 07:27:09 +02:00
2210 ,
2263
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 86 ,
"column" : 8
} ,
"end" : {
"line" : 86 ,
"column" : 61
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "AssignmentExpression" ,
"operator" : "=" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
2273 ,
2276
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 8
} ,
"end" : {
"line" : 87 ,
"column" : 11
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "className" ,
"range" : [
2015-08-06 07:27:09 +02:00
2277 ,
2286
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 12
} ,
"end" : {
"line" : 87 ,
"column" : 21
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2273 ,
2286
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 8
} ,
"end" : {
"line" : 87 ,
"column" : 21
}
}
} ,
"right" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "ele" ,
"range" : [
2015-08-06 07:27:09 +02:00
2289 ,
2292
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 24
} ,
"end" : {
"line" : 87 ,
"column" : 27
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "className" ,
"range" : [
2015-08-06 07:27:09 +02:00
2293 ,
2302
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 28
} ,
"end" : {
"line" : 87 ,
"column" : 37
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2289 ,
2302
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 24
} ,
"end" : {
"line" : 87 ,
"column" : 37
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "replace" ,
"range" : [
2015-08-06 07:27:09 +02:00
2303 ,
2310
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 38
} ,
"end" : {
"line" : 87 ,
"column" : 45
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2289 ,
2310
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 24
} ,
"end" : {
"line" : 87 ,
"column" : 45
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "reg" ,
"range" : [
2015-08-06 07:27:09 +02:00
2311 ,
2314
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 46
} ,
"end" : {
"line" : 87 ,
"column" : 49
}
}
} ,
{
"type" : "Literal" ,
"value" : "" ,
"raw" : "''" ,
"range" : [
2015-08-06 07:27:09 +02:00
2316 ,
2318
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 51
} ,
"end" : {
"line" : 87 ,
"column" : 53
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2289 ,
2319
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 24
} ,
"end" : {
"line" : 87 ,
"column" : 54
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2273 ,
2319
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 8
} ,
"end" : {
"line" : 87 ,
"column" : 54
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2273 ,
2320
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 87 ,
"column" : 8
} ,
"end" : {
"line" : 87 ,
"column" : 55
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2062 ,
2327
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 79 ,
"column" : 25
} ,
"end" : {
"line" : 88 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
2052 ,
2327
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 79 ,
"column" : 15
} ,
"end" : {
"line" : 88 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
2041 ,
2327
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 79 ,
"column" : 4
} ,
"end" : {
"line" : 88 ,
"column" : 5
}
}
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "createOpt" ,
"range" : [
2015-08-06 07:27:09 +02:00
2595 ,
2604
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 97 ,
"column" : 4
} ,
"end" : {
"line" : 97 ,
"column" : 13
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "text" ,
"range" : [
2015-08-06 07:27:09 +02:00
2605 ,
2609
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 97 ,
"column" : 14
} ,
"end" : {
"line" : 97 ,
"column" : 18
}
}
} ,
{
"type" : "Identifier" ,
"name" : "value" ,
"range" : [
2015-08-06 07:27:09 +02:00
2611 ,
2616
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 97 ,
"column" : 20
} ,
"end" : {
"line" : 97 ,
"column" : 25
}
}
} ,
{
"type" : "Identifier" ,
"name" : "isSel" ,
"range" : [
2015-08-06 07:27:09 +02:00
2618 ,
2623
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 97 ,
"column" : 27
} ,
"end" : {
"line" : 97 ,
"column" : 32
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "VariableDeclaration" ,
"declarations" : [
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "isSelected" ,
"range" : [
2015-08-06 07:27:09 +02:00
2639 ,
2649
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 98 ,
"column" : 12
} ,
"end" : {
"line" : 98 ,
"column" : 22
}
}
} ,
"init" : {
"type" : "ConditionalExpression" ,
"test" : {
"type" : "Identifier" ,
"name" : "isSel" ,
"range" : [
2015-08-06 07:27:09 +02:00
2652 ,
2657
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 98 ,
"column" : 25
} ,
"end" : {
"line" : 98 ,
"column" : 30
}
}
} ,
"consequent" : {
"type" : "Literal" ,
"value" : true ,
"raw" : "true" ,
"range" : [
2015-08-06 07:27:09 +02:00
2660 ,
2664
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 98 ,
"column" : 33
} ,
"end" : {
"line" : 98 ,
"column" : 37
}
}
} ,
"alternate" : {
"type" : "Literal" ,
"value" : false ,
"raw" : "false" ,
"range" : [
2015-08-06 07:27:09 +02:00
2667 ,
2672
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 98 ,
"column" : 40
} ,
"end" : {
"line" : 98 ,
"column" : 45
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2652 ,
2672
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 98 ,
"column" : 25
} ,
"end" : {
"line" : 98 ,
"column" : 45
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2639 ,
2672
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 98 ,
"column" : 12
} ,
"end" : {
"line" : 98 ,
"column" : 45
}
}
} ,
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "opt" ,
"range" : [
2015-08-06 07:27:09 +02:00
2687 ,
2690
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 99 ,
"column" : 12
} ,
"end" : {
"line" : 99 ,
"column" : 15
}
}
} ,
"init" : {
"type" : "ConditionalExpression" ,
"test" : {
"type" : "Identifier" ,
"name" : "isSelected" ,
"range" : [
2015-08-06 07:27:09 +02:00
2693 ,
2703
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 99 ,
"column" : 18
} ,
"end" : {
"line" : 99 ,
"column" : 28
}
}
} ,
"consequent" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
2723 ,
2727
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 16
} ,
"end" : {
"line" : 100 ,
"column" : 20
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "create" ,
"range" : [
2015-08-06 07:27:09 +02:00
2728 ,
2734
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 21
} ,
"end" : {
"line" : 100 ,
"column" : 27
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2723 ,
2734
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 16
} ,
"end" : {
"line" : 100 ,
"column" : 27
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : "option" ,
"raw" : "'option'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2735 ,
2743
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 28
} ,
"end" : {
"line" : 100 ,
"column" : 36
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "value" ,
"raw" : "'value'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2746 ,
2753
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 39
} ,
"end" : {
"line" : 100 ,
"column" : 46
}
}
} ,
{
"type" : "Identifier" ,
"name" : "value" ,
"range" : [
2015-08-06 07:27:09 +02:00
2754 ,
2759
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 47
} ,
"end" : {
"line" : 100 ,
"column" : 52
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2745 ,
2760
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 38
} ,
"end" : {
"line" : 100 ,
"column" : 53
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "selected" ,
"raw" : "'selected'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2763 ,
2773
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 56
} ,
"end" : {
"line" : 100 ,
"column" : 66
}
}
} ,
{
"type" : "Literal" ,
"value" : "true" ,
"raw" : "'true'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2774 ,
2780
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 67
} ,
"end" : {
"line" : 100 ,
"column" : 73
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2762 ,
2781
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 55
} ,
"end" : {
"line" : 100 ,
"column" : 74
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2723 ,
2782
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 100 ,
"column" : 16
} ,
"end" : {
"line" : 100 ,
"column" : 75
}
}
} ,
"alternate" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
2802 ,
2806
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 16
} ,
"end" : {
"line" : 101 ,
"column" : 20
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "create" ,
"range" : [
2015-08-06 07:27:09 +02:00
2807 ,
2813
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 21
} ,
"end" : {
"line" : 101 ,
"column" : 27
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2802 ,
2813
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 16
} ,
"end" : {
"line" : 101 ,
"column" : 27
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : "option" ,
"raw" : "'option'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2814 ,
2822
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 28
} ,
"end" : {
"line" : 101 ,
"column" : 36
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "value" ,
"raw" : "'value'" ,
"range" : [
2015-08-06 07:27:09 +02:00
2825 ,
2832
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 39
} ,
"end" : {
"line" : 101 ,
"column" : 46
}
}
} ,
{
"type" : "Identifier" ,
"name" : "value" ,
"range" : [
2015-08-06 07:27:09 +02:00
2833 ,
2838
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 47
} ,
"end" : {
"line" : 101 ,
"column" : 52
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2824 ,
2839
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 38
} ,
"end" : {
"line" : 101 ,
"column" : 53
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2802 ,
2840
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 101 ,
"column" : 16
} ,
"end" : {
"line" : 101 ,
"column" : 54
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2693 ,
2840
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 99 ,
"column" : 18
} ,
"end" : {
"line" : 101 ,
"column" : 54
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2687 ,
2840
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 99 ,
"column" : 12
} ,
"end" : {
"line" : 101 ,
"column" : 54
}
}
}
] ,
"kind" : "let" ,
"range" : [
2015-08-06 07:27:09 +02:00
2635 ,
2841
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 98 ,
"column" : 8
} ,
"end" : {
"line" : 101 ,
"column" : 55
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "opt" ,
"range" : [
2015-08-06 07:27:09 +02:00
2851 ,
2854
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 8
} ,
"end" : {
"line" : 102 ,
"column" : 11
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "appendChild" ,
"range" : [
2015-08-06 07:27:09 +02:00
2855 ,
2866
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 12
} ,
"end" : {
"line" : 102 ,
"column" : 23
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2851 ,
2866
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 8
} ,
"end" : {
"line" : 102 ,
"column" : 23
}
}
} ,
"arguments" : [
{
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
2867 ,
2871
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 24
} ,
"end" : {
"line" : 102 ,
"column" : 28
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "text" ,
"range" : [
2015-08-06 07:27:09 +02:00
2872 ,
2876
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 29
} ,
"end" : {
"line" : 102 ,
"column" : 33
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2867 ,
2876
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 24
} ,
"end" : {
"line" : 102 ,
"column" : 33
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "text" ,
"range" : [
2015-08-06 07:27:09 +02:00
2877 ,
2881
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 34
} ,
"end" : {
"line" : 102 ,
"column" : 38
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2867 ,
2882
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 24
} ,
"end" : {
"line" : 102 ,
"column" : 39
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2851 ,
2883
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 8
} ,
"end" : {
"line" : 102 ,
"column" : 40
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2851 ,
2884
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 102 ,
"column" : 8
} ,
"end" : {
"line" : 102 ,
"column" : 41
}
}
} ,
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "Identifier" ,
"name" : "opt" ,
"range" : [
2015-08-06 07:27:09 +02:00
2901 ,
2904
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 103 ,
"column" : 15
} ,
"end" : {
"line" : 103 ,
"column" : 18
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
2894 ,
2905
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 103 ,
"column" : 8
} ,
"end" : {
"line" : 103 ,
"column" : 19
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
2624 ,
2912
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 97 ,
"column" : 33
} ,
"end" : {
"line" : 104 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
2604 ,
2912
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 97 ,
"column" : 13
} ,
"end" : {
"line" : 104 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
2595 ,
2912
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 97 ,
"column" : 4
} ,
"end" : {
"line" : 104 ,
"column" : 5
}
} ,
"leadingComments" : [
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Creates and returns an option element\r\n * @param {String} text option text\r\n * @param {String} value option value\r\n * @param {Boolean} isSel whether option is selected\r\n * @return {Object} option element\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
2336 ,
2589
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 90 ,
"column" : 4
} ,
"end" : {
"line" : 96 ,
"column" : 7
}
}
}
]
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "createCheckItem" ,
"range" : [
2015-08-06 07:27:09 +02:00
3198 ,
3213
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 113 ,
"column" : 4
} ,
"end" : {
"line" : 113 ,
"column" : 19
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "chkIndex" ,
"range" : [
2015-08-06 07:27:09 +02:00
3214 ,
3222
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 113 ,
"column" : 20
} ,
"end" : {
"line" : 113 ,
"column" : 28
}
}
} ,
{
"type" : "Identifier" ,
"name" : "chkValue" ,
"range" : [
2015-08-06 07:27:09 +02:00
3224 ,
3232
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 113 ,
"column" : 30
} ,
"end" : {
"line" : 113 ,
"column" : 38
}
}
} ,
{
"type" : "Identifier" ,
"name" : "labelText" ,
"range" : [
2015-08-06 07:27:09 +02:00
3234 ,
3243
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 113 ,
"column" : 40
} ,
"end" : {
"line" : 113 ,
"column" : 49
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "VariableDeclaration" ,
"declarations" : [
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "li" ,
"range" : [
2015-08-06 07:27:09 +02:00
3259 ,
3261
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 12
} ,
"end" : {
"line" : 114 ,
"column" : 14
}
}
} ,
"init" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
3264 ,
3268
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 17
} ,
"end" : {
"line" : 114 ,
"column" : 21
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "create" ,
"range" : [
2015-08-06 07:27:09 +02:00
3269 ,
3275
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 22
} ,
"end" : {
"line" : 114 ,
"column" : 28
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3264 ,
3275
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 17
} ,
"end" : {
"line" : 114 ,
"column" : 28
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : "li" ,
"raw" : "'li'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3276 ,
3280
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 29
} ,
"end" : {
"line" : 114 ,
"column" : 33
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3264 ,
3281
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 17
} ,
"end" : {
"line" : 114 ,
"column" : 34
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3259 ,
3281
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 12
} ,
"end" : {
"line" : 114 ,
"column" : 34
}
}
} ,
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "label" ,
"range" : [
2015-08-06 07:27:09 +02:00
3296 ,
3301
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 12
} ,
"end" : {
"line" : 115 ,
"column" : 17
}
}
} ,
"init" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
3304 ,
3308
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 20
} ,
"end" : {
"line" : 115 ,
"column" : 24
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "create" ,
"range" : [
2015-08-06 07:27:09 +02:00
3309 ,
3315
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 25
} ,
"end" : {
"line" : 115 ,
"column" : 31
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3304 ,
3315
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 20
} ,
"end" : {
"line" : 115 ,
"column" : 31
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : "label" ,
"raw" : "'label'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3316 ,
3323
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 32
} ,
"end" : {
"line" : 115 ,
"column" : 39
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "for" ,
"raw" : "'for'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3326 ,
3331
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 42
} ,
"end" : {
"line" : 115 ,
"column" : 47
}
}
} ,
{
"type" : "Identifier" ,
"name" : "chkIndex" ,
"range" : [
2015-08-06 07:27:09 +02:00
3333 ,
3341
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 49
} ,
"end" : {
"line" : 115 ,
"column" : 57
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3325 ,
3342
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 41
} ,
"end" : {
"line" : 115 ,
"column" : 58
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3304 ,
3343
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 20
} ,
"end" : {
"line" : 115 ,
"column" : 59
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3296 ,
3343
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 115 ,
"column" : 12
} ,
"end" : {
"line" : 115 ,
"column" : 59
}
}
} ,
{
"type" : "VariableDeclarator" ,
"id" : {
"type" : "Identifier" ,
"name" : "check" ,
"range" : [
2015-08-06 07:27:09 +02:00
3358 ,
3363
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 116 ,
"column" : 12
} ,
"end" : {
"line" : 116 ,
"column" : 17
}
}
} ,
"init" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
3366 ,
3370
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 116 ,
"column" : 20
} ,
"end" : {
"line" : 116 ,
"column" : 24
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "create" ,
"range" : [
2015-08-06 07:27:09 +02:00
3371 ,
3377
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 116 ,
"column" : 25
} ,
"end" : {
"line" : 116 ,
"column" : 31
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3366 ,
3377
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 116 ,
"column" : 20
} ,
"end" : {
"line" : 116 ,
"column" : 31
}
}
} ,
"arguments" : [
{
"type" : "Literal" ,
"value" : "input" ,
"raw" : "'input'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3378 ,
3385
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 116 ,
"column" : 32
} ,
"end" : {
"line" : 116 ,
"column" : 39
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "id" ,
"raw" : "'id'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3405 ,
3409
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 117 ,
"column" : 17
} ,
"end" : {
"line" : 117 ,
"column" : 21
}
}
} ,
{
"type" : "Identifier" ,
"name" : "chkIndex" ,
"range" : [
2015-08-06 07:27:09 +02:00
3411 ,
3419
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 117 ,
"column" : 23
} ,
"end" : {
"line" : 117 ,
"column" : 31
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3404 ,
3420
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 117 ,
"column" : 16
} ,
"end" : {
"line" : 117 ,
"column" : 32
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "name" ,
"raw" : "'name'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3440 ,
3446
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 118 ,
"column" : 17
} ,
"end" : {
"line" : 118 ,
"column" : 23
}
}
} ,
{
"type" : "Identifier" ,
"name" : "chkIndex" ,
"range" : [
2015-08-06 07:27:09 +02:00
3448 ,
3456
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 118 ,
"column" : 25
} ,
"end" : {
"line" : 118 ,
"column" : 33
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3439 ,
3457
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 118 ,
"column" : 16
} ,
"end" : {
"line" : 118 ,
"column" : 34
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "type" ,
"raw" : "'type'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3477 ,
3483
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 119 ,
"column" : 17
} ,
"end" : {
"line" : 119 ,
"column" : 23
}
}
} ,
{
"type" : "Literal" ,
"value" : "checkbox" ,
"raw" : "'checkbox'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3485 ,
3495
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 119 ,
"column" : 25
} ,
"end" : {
"line" : 119 ,
"column" : 35
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3476 ,
3496
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 119 ,
"column" : 16
} ,
"end" : {
"line" : 119 ,
"column" : 36
}
}
} ,
{
"type" : "ArrayExpression" ,
"elements" : [
{
"type" : "Literal" ,
"value" : "value" ,
"raw" : "'value'" ,
"range" : [
2015-08-06 07:27:09 +02:00
3516 ,
3523
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 120 ,
"column" : 17
} ,
"end" : {
"line" : 120 ,
"column" : 24
}
}
} ,
{
"type" : "Identifier" ,
"name" : "chkValue" ,
"range" : [
2015-08-06 07:27:09 +02:00
3525 ,
3533
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 120 ,
"column" : 26
} ,
"end" : {
"line" : 120 ,
"column" : 34
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3515 ,
3534
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 120 ,
"column" : 16
} ,
"end" : {
"line" : 120 ,
"column" : 35
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3366 ,
3549
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 116 ,
"column" : 20
} ,
"end" : {
"line" : 121 ,
"column" : 13
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3358 ,
3549
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 116 ,
"column" : 12
} ,
"end" : {
"line" : 121 ,
"column" : 13
}
}
}
] ,
"kind" : "let" ,
"range" : [
2015-08-06 07:27:09 +02:00
3255 ,
3550
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 114 ,
"column" : 8
} ,
"end" : {
"line" : 121 ,
"column" : 14
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "label" ,
"range" : [
2015-08-06 07:27:09 +02:00
3560 ,
3565
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 122 ,
"column" : 8
} ,
"end" : {
"line" : 122 ,
"column" : 13
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "appendChild" ,
"range" : [
2015-08-06 07:27:09 +02:00
3566 ,
3577
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 122 ,
"column" : 14
} ,
"end" : {
"line" : 122 ,
"column" : 25
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3560 ,
3577
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 122 ,
"column" : 8
} ,
"end" : {
"line" : 122 ,
"column" : 25
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "check" ,
"range" : [
2015-08-06 07:27:09 +02:00
3578 ,
3583
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 122 ,
"column" : 26
} ,
"end" : {
"line" : 122 ,
"column" : 31
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3560 ,
3584
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 122 ,
"column" : 8
} ,
"end" : {
"line" : 122 ,
"column" : 32
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3560 ,
3585
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 122 ,
"column" : 8
} ,
"end" : {
"line" : 122 ,
"column" : 33
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "label" ,
"range" : [
2015-08-06 07:27:09 +02:00
3595 ,
3600
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 8
} ,
"end" : {
"line" : 123 ,
"column" : 13
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "appendChild" ,
"range" : [
2015-08-06 07:27:09 +02:00
3601 ,
3612
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 14
} ,
"end" : {
"line" : 123 ,
"column" : 25
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3595 ,
3612
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 8
} ,
"end" : {
"line" : 123 ,
"column" : 25
}
}
} ,
"arguments" : [
{
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "ThisExpression" ,
"range" : [
2015-08-06 07:27:09 +02:00
3613 ,
3617
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 26
} ,
"end" : {
"line" : 123 ,
"column" : 30
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "text" ,
"range" : [
2015-08-06 07:27:09 +02:00
3618 ,
3622
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 31
} ,
"end" : {
"line" : 123 ,
"column" : 35
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3613 ,
3622
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 26
} ,
"end" : {
"line" : 123 ,
"column" : 35
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "labelText" ,
"range" : [
2015-08-06 07:27:09 +02:00
3623 ,
3632
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 36
} ,
"end" : {
"line" : 123 ,
"column" : 45
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3613 ,
3633
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 26
} ,
"end" : {
"line" : 123 ,
"column" : 46
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3595 ,
3634
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 8
} ,
"end" : {
"line" : 123 ,
"column" : 47
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3595 ,
3635
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 123 ,
"column" : 8
} ,
"end" : {
"line" : 123 ,
"column" : 48
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "li" ,
"range" : [
2015-08-06 07:27:09 +02:00
3645 ,
3647
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 124 ,
"column" : 8
} ,
"end" : {
"line" : 124 ,
"column" : 10
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "appendChild" ,
"range" : [
2015-08-06 07:27:09 +02:00
3648 ,
3659
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 124 ,
"column" : 11
} ,
"end" : {
"line" : 124 ,
"column" : 22
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3645 ,
3659
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 124 ,
"column" : 8
} ,
"end" : {
"line" : 124 ,
"column" : 22
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "label" ,
"range" : [
2015-08-06 07:27:09 +02:00
3660 ,
3665
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 124 ,
"column" : 23
} ,
"end" : {
"line" : 124 ,
"column" : 28
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3645 ,
3666
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 124 ,
"column" : 8
} ,
"end" : {
"line" : 124 ,
"column" : 29
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3645 ,
3667
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 124 ,
"column" : 8
} ,
"end" : {
"line" : 124 ,
"column" : 30
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "AssignmentExpression" ,
"operator" : "=" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "li" ,
"range" : [
2015-08-06 07:27:09 +02:00
3677 ,
3679
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 125 ,
"column" : 8
} ,
"end" : {
"line" : 125 ,
"column" : 10
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "label" ,
"range" : [
2015-08-06 07:27:09 +02:00
3680 ,
3685
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 125 ,
"column" : 11
} ,
"end" : {
"line" : 125 ,
"column" : 16
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3677 ,
3685
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 125 ,
"column" : 8
} ,
"end" : {
"line" : 125 ,
"column" : 16
}
}
} ,
"right" : {
"type" : "Identifier" ,
"name" : "label" ,
"range" : [
2015-08-06 07:27:09 +02:00
3688 ,
3693
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 125 ,
"column" : 19
} ,
"end" : {
"line" : 125 ,
"column" : 24
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3677 ,
3693
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 125 ,
"column" : 8
} ,
"end" : {
"line" : 125 ,
"column" : 24
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3677 ,
3694
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 125 ,
"column" : 8
} ,
"end" : {
"line" : 125 ,
"column" : 25
}
}
} ,
{
"type" : "ExpressionStatement" ,
"expression" : {
"type" : "AssignmentExpression" ,
"operator" : "=" ,
"left" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "li" ,
"range" : [
2015-08-06 07:27:09 +02:00
3704 ,
3706
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 126 ,
"column" : 8
} ,
"end" : {
"line" : 126 ,
"column" : 10
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "check" ,
"range" : [
2015-08-06 07:27:09 +02:00
3707 ,
3712
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 126 ,
"column" : 11
} ,
"end" : {
"line" : 126 ,
"column" : 16
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3704 ,
3712
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 126 ,
"column" : 8
} ,
"end" : {
"line" : 126 ,
"column" : 16
}
}
} ,
"right" : {
"type" : "Identifier" ,
"name" : "check" ,
"range" : [
2015-08-06 07:27:09 +02:00
3715 ,
3720
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 126 ,
"column" : 19
} ,
"end" : {
"line" : 126 ,
"column" : 24
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3704 ,
3720
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 126 ,
"column" : 8
} ,
"end" : {
"line" : 126 ,
"column" : 24
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3704 ,
3721
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 126 ,
"column" : 8
} ,
"end" : {
"line" : 126 ,
"column" : 25
}
}
} ,
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "Identifier" ,
"name" : "li" ,
"range" : [
2015-08-06 07:27:09 +02:00
3738 ,
3740
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 127 ,
"column" : 15
} ,
"end" : {
"line" : 127 ,
"column" : 17
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3731 ,
3741
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 127 ,
"column" : 8
} ,
"end" : {
"line" : 127 ,
"column" : 18
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3244 ,
3748
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 113 ,
"column" : 50
} ,
"end" : {
"line" : 128 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
3213 ,
3748
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 113 ,
"column" : 19
} ,
"end" : {
"line" : 128 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
3198 ,
3748
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 113 ,
"column" : 4
} ,
"end" : {
"line" : 128 ,
"column" : 5
}
} ,
"leadingComments" : [
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Creates and returns a checklist item\r\n * @param {Number} chkIndex index of check item\r\n * @param {String} chkValue check item value\r\n * @param {String} labelText check item label text\r\n * @return {Object} li DOM element\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
2921 ,
3192
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 106 ,
"column" : 4
} ,
"end" : {
"line" : 112 ,
"column" : 7
}
}
}
]
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "id" ,
"range" : [
2015-08-06 07:27:09 +02:00
3757 ,
3759
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 130 ,
"column" : 4
} ,
"end" : {
"line" : 130 ,
"column" : 6
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "_id" ,
"range" : [
2015-08-06 07:27:09 +02:00
3760 ,
3763
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 130 ,
"column" : 7
} ,
"end" : {
"line" : 130 ,
"column" : 10
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "document" ,
"range" : [
2015-08-06 07:27:09 +02:00
3782 ,
3790
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 131 ,
"column" : 15
} ,
"end" : {
"line" : 131 ,
"column" : 23
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "getElementById" ,
"range" : [
2015-08-06 07:27:09 +02:00
3791 ,
3805
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 131 ,
"column" : 24
} ,
"end" : {
"line" : 131 ,
"column" : 38
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3782 ,
3805
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 131 ,
"column" : 15
} ,
"end" : {
"line" : 131 ,
"column" : 38
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "_id" ,
"range" : [
2015-08-06 07:27:09 +02:00
3806 ,
3809
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 131 ,
"column" : 39
} ,
"end" : {
"line" : 131 ,
"column" : 42
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3782 ,
3810
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 131 ,
"column" : 15
} ,
"end" : {
"line" : 131 ,
"column" : 43
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3775 ,
3811
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 131 ,
"column" : 8
} ,
"end" : {
"line" : 131 ,
"column" : 44
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3764 ,
3818
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 130 ,
"column" : 11
} ,
"end" : {
"line" : 132 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
3759 ,
3818
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 130 ,
"column" : 6
} ,
"end" : {
"line" : 132 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
3757 ,
3818
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 130 ,
"column" : 4
} ,
"end" : {
"line" : 132 ,
"column" : 5
}
}
} ,
{
"type" : "Property" ,
"key" : {
"type" : "Identifier" ,
"name" : "tag" ,
"range" : [
2015-08-06 07:27:09 +02:00
3827 ,
3830
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 134 ,
"column" : 4
} ,
"end" : {
"line" : 134 ,
"column" : 7
}
}
} ,
"value" : {
"type" : "FunctionExpression" ,
"id" : null ,
"params" : [
{
"type" : "Identifier" ,
"name" : "o" ,
"range" : [
2015-08-06 07:27:09 +02:00
3831 ,
3832
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 134 ,
"column" : 8
} ,
"end" : {
"line" : 134 ,
"column" : 9
}
}
} ,
{
"type" : "Identifier" ,
"name" : "tagname" ,
"range" : [
2015-08-06 07:27:09 +02:00
3834 ,
3841
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 134 ,
"column" : 11
} ,
"end" : {
"line" : 134 ,
"column" : 18
}
}
}
] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "CallExpression" ,
"callee" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "o" ,
"range" : [
2015-08-06 07:27:09 +02:00
3860 ,
3861
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 135 ,
"column" : 15
} ,
"end" : {
"line" : 135 ,
"column" : 16
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "getElementsByTagName" ,
"range" : [
2015-08-06 07:27:09 +02:00
3862 ,
3882
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 135 ,
"column" : 17
} ,
"end" : {
"line" : 135 ,
"column" : 37
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3860 ,
3882
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 135 ,
"column" : 15
} ,
"end" : {
"line" : 135 ,
"column" : 37
}
}
} ,
"arguments" : [
{
"type" : "Identifier" ,
"name" : "tagname" ,
"range" : [
2015-08-06 07:27:09 +02:00
3883 ,
3890
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 135 ,
"column" : 38
} ,
"end" : {
"line" : 135 ,
"column" : 45
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3860 ,
3891
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 135 ,
"column" : 15
} ,
"end" : {
"line" : 135 ,
"column" : 46
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3853 ,
3892
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 135 ,
"column" : 8
} ,
"end" : {
"line" : 135 ,
"column" : 47
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3842 ,
3899
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 134 ,
"column" : 19
} ,
"end" : {
"line" : 136 ,
"column" : 5
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
3830 ,
3899
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 134 ,
"column" : 7
} ,
"end" : {
"line" : 136 ,
"column" : 5
}
}
} ,
"kind" : "init" ,
"method" : true ,
"shorthand" : false ,
"computed" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
3827 ,
3899
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 134 ,
"column" : 4
} ,
"end" : {
"line" : 136 ,
"column" : 5
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
45 ,
3902
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 5 ,
"column" : 15
} ,
"end" : {
"line" : 137 ,
"column" : 1
}
} ,
"leadingComments" : [ ] ,
"trailingComments" : [
{
"type" : "Line" ,
"value" : " HTML5 classList API" ,
"range" : [
2015-08-06 07:27:09 +02:00
3907 ,
3929
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 139 ,
"column" : 0
} ,
"end" : {
"line" : 139 ,
"column" : 22
}
}
}
]
} ,
"range" : [
2015-08-06 07:27:09 +02:00
30 ,
3903
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 5 ,
"column" : 0
} ,
"end" : {
"line" : 137 ,
"column" : 2
}
} ,
"trailingComments" : [
{
"type" : "Line" ,
"value" : " HTML5 classList API" ,
"range" : [
2015-08-06 07:27:09 +02:00
3907 ,
3929
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 139 ,
"column" : 0
} ,
"end" : {
"line" : 139 ,
"column" : 22
}
}
}
]
} ,
{
"type" : "FunctionDeclaration" ,
"id" : {
"type" : "Identifier" ,
"name" : "supportsClassList" ,
"range" : [
2015-08-06 07:27:09 +02:00
3940 ,
3957
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 140 ,
"column" : 9
} ,
"end" : {
"line" : 140 ,
"column" : 26
}
}
} ,
"params" : [ ] ,
"body" : {
"type" : "BlockStatement" ,
"body" : [
{
"type" : "ReturnStatement" ,
"argument" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "MemberExpression" ,
"computed" : false ,
"object" : {
"type" : "Identifier" ,
"name" : "document" ,
"range" : [
2015-08-06 07:27:09 +02:00
3973 ,
3981
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 141 ,
"column" : 11
} ,
"end" : {
"line" : 141 ,
"column" : 19
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "documentElement" ,
"range" : [
2015-08-06 07:27:09 +02:00
3982 ,
3997
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 141 ,
"column" : 20
} ,
"end" : {
"line" : 141 ,
"column" : 35
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3973 ,
3997
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 141 ,
"column" : 11
} ,
"end" : {
"line" : 141 ,
"column" : 35
}
}
} ,
"property" : {
"type" : "Identifier" ,
"name" : "classList" ,
"range" : [
2015-08-06 07:27:09 +02:00
3998 ,
4007
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 141 ,
"column" : 36
} ,
"end" : {
"line" : 141 ,
"column" : 45
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3973 ,
4007
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 141 ,
"column" : 11
} ,
"end" : {
"line" : 141 ,
"column" : 45
}
}
} ,
"range" : [
2015-08-06 07:27:09 +02:00
3966 ,
4008
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 141 ,
"column" : 4
} ,
"end" : {
"line" : 141 ,
"column" : 46
}
}
}
] ,
"range" : [
2015-08-06 07:27:09 +02:00
3959 ,
4011
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 140 ,
"column" : 28
} ,
"end" : {
"line" : 142 ,
"column" : 1
}
}
} ,
"generator" : false ,
"expression" : false ,
"range" : [
2015-08-06 07:27:09 +02:00
3931 ,
4011
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 140 ,
"column" : 0
} ,
"end" : {
"line" : 142 ,
"column" : 1
}
} ,
"leadingComments" : [
{
"type" : "Line" ,
"value" : " HTML5 classList API" ,
"range" : [
2015-08-06 07:27:09 +02:00
3907 ,
3929
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 139 ,
"column" : 0
} ,
"end" : {
"line" : 139 ,
"column" : 22
}
}
}
]
}
] ,
"sourceType" : "module" ,
"range" : [
2015-08-06 07:27:09 +02:00
30 ,
4011
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 5 ,
"column" : 0
} ,
"end" : {
"line" : 142 ,
"column" : 1
}
} ,
"comments" : [
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * DOM utilities\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
0 ,
2015-08-06 07:27:09 +02:00
26
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 1 ,
"column" : 0
} ,
"end" : {
"line" : 3 ,
"column" : 3
}
}
} ,
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Returns text + text of children of given node\r\n * @param {NodeElement} node\r\n * @return {String}\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
54 ,
180
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 7 ,
"column" : 4
} ,
"end" : {
"line" : 11 ,
"column" : 7
}
}
} ,
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Creates an html element with given collection of attributes\r\n * @param {String} tag a string of the html tag to create\r\n * @param {Array} an undetermined number of arrays containing the with 2\r\n * items, the attribute name and its value ['id','myId']\r\n * @return {Object} created element\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
404 ,
753
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 19 ,
"column" : 4
} ,
"end" : {
"line" : 25 ,
"column" : 7
}
}
} ,
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Returns a text node with given text\r\n * @param {String} txt\r\n * @return {Object}\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
1264 ,
1374
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 45 ,
"column" : 4
} ,
"end" : {
"line" : 49 ,
"column" : 7
}
}
} ,
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Creates and returns an option element\r\n * @param {String} text option text\r\n * @param {String} value option value\r\n * @param {Boolean} isSel whether option is selected\r\n * @return {Object} option element\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
2336 ,
2589
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 90 ,
"column" : 4
} ,
"end" : {
"line" : 96 ,
"column" : 7
}
}
} ,
{
"type" : "Block" ,
2015-08-06 07:27:09 +02:00
"value" : "*\r\n * Creates and returns a checklist item\r\n * @param {Number} chkIndex index of check item\r\n * @param {String} chkValue check item value\r\n * @param {String} labelText check item label text\r\n * @return {Object} li DOM element\r\n " ,
2015-08-02 10:27:59 +02:00
"range" : [
2015-08-06 07:27:09 +02:00
2921 ,
3192
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 106 ,
"column" : 4
} ,
"end" : {
"line" : 112 ,
"column" : 7
}
}
} ,
{
"type" : "Line" ,
"value" : " HTML5 classList API" ,
"range" : [
2015-08-06 07:27:09 +02:00
3907 ,
3929
2015-08-02 10:27:59 +02:00
] ,
"loc" : {
"start" : {
"line" : 139 ,
"column" : 0
} ,
"end" : {
"line" : 139 ,
"column" : 22
}
}
}
]
}