1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-15 12:57:03 +02:00
TableFilter/doc/ast/source/src/modules/store.js.json
2015-08-06 15:27:09 +10:00

4739 lines
165 KiB
JSON

{
"type": "Program",
"body": [
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"local": {
"type": "Identifier",
"name": "Cookie",
"range": [
7,
13
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 13
}
}
},
"range": [
7,
13
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 13
}
}
}
],
"source": {
"type": "Literal",
"value": "../cookie",
"raw": "'../cookie'",
"range": [
19,
30
],
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 30
}
}
},
"range": [
0,
31
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "ClassDeclaration",
"id": {
"type": "Identifier",
"name": "Store",
"range": [
48,
53
],
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"column": 18
}
}
},
"superClass": null,
"body": {
"type": "ClassBody",
"body": [
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "constructor",
"range": [
237,
248
],
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 15
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "tf",
"range": [
249,
251
],
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 18
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "f",
"range": [
268,
269
],
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 13
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
272,
274
],
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"name": "config",
"range": [
275,
281
],
"loc": {
"start": {
"line": 12,
"column": 19
},
"end": {
"line": 12,
"column": 25
}
}
},
"range": [
272,
281
],
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 25
}
}
},
"arguments": [],
"range": [
272,
283
],
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 27
}
}
},
"range": [
268,
283
],
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 27
}
}
}
],
"kind": "var",
"range": [
264,
284
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 28
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
296,
300
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "duration",
"range": [
301,
309
],
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 21
}
}
},
"range": [
296,
309
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 21
}
}
},
"right": {
"type": "ConditionalExpression",
"test": {
"type": "UnaryExpression",
"operator": "!",
"argument": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "isNaN",
"range": [
313,
318
],
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 30
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "f",
"range": [
319,
320
],
"loc": {
"start": {
"line": 14,
"column": 31
},
"end": {
"line": 14,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"name": "set_cookie_duration",
"range": [
321,
340
],
"loc": {
"start": {
"line": 14,
"column": 33
},
"end": {
"line": 14,
"column": 52
}
}
},
"range": [
319,
340
],
"loc": {
"start": {
"line": 14,
"column": 31
},
"end": {
"line": 14,
"column": 52
}
}
}
],
"range": [
313,
341
],
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 53
}
}
},
"prefix": true,
"range": [
312,
341
],
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 53
}
}
},
"consequent": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "parseInt",
"range": [
357,
365
],
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 20
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "f",
"range": [
366,
367
],
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"name": "set_cookie_duration",
"range": [
368,
387
],
"loc": {
"start": {
"line": 15,
"column": 23
},
"end": {
"line": 15,
"column": 42
}
}
},
"range": [
366,
387
],
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 42
}
}
},
{
"type": "Literal",
"value": 10,
"raw": "10",
"range": [
389,
391
],
"loc": {
"start": {
"line": 15,
"column": 44
},
"end": {
"line": 15,
"column": 46
}
}
}
],
"range": [
357,
392
],
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 47
}
}
},
"alternate": {
"type": "Literal",
"value": 100000,
"raw": "100000",
"range": [
395,
401
],
"loc": {
"start": {
"line": 15,
"column": 50
},
"end": {
"line": 15,
"column": 56
}
}
},
"range": [
312,
401
],
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 15,
"column": 56
}
}
},
"range": [
296,
401
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 15,
"column": 56
}
}
},
"range": [
296,
402
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 15,
"column": 57
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
414,
418
],
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
419,
421
],
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 15
}
}
},
"range": [
414,
421
],
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 15
}
}
},
"right": {
"type": "Identifier",
"name": "tf",
"range": [
424,
426
],
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 20
}
}
},
"range": [
414,
426
],
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 20
}
}
},
"range": [
414,
427
],
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 21
}
}
}
],
"range": [
253,
434
],
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 18,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
248,
434
],
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 18,
"column": 5
}
}
},
"kind": "constructor",
"computed": false,
"range": [
237,
434
],
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 18,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\r\n * Store, persistence manager\r\n * @param {Object} tf TableFilter instance\r\n *\r\n * TODO: use localStorage and fallback to cookie persistence\r\n ",
"range": [
62,
231
],
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 10,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
"value": "*\r\n * Store filters' values in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
442,
530
],
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "saveFilterValues",
"range": [
536,
552
],
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 20
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "name",
"range": [
553,
557
],
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 25
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "tf",
"range": [
573,
575
],
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 14
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
578,
582
],
"loc": {
"start": {
"line": 25,
"column": 17
},
"end": {
"line": 25,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
583,
585
],
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 24
}
}
},
"range": [
578,
585
],
"loc": {
"start": {
"line": 25,
"column": 17
},
"end": {
"line": 25,
"column": 24
}
}
},
"range": [
573,
585
],
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 24
}
}
}
],
"kind": "var",
"range": [
569,
586
],
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "fltValues",
"range": [
600,
609
],
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 21
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [],
"range": [
612,
614
],
"loc": {
"start": {
"line": 26,
"column": 24
},
"end": {
"line": 26,
"column": 26
}
}
},
"range": [
600,
614
],
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 26
}
}
}
],
"kind": "var",
"range": [
596,
615
],
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 27
}
},
"trailingComments": [
{
"type": "Line",
"value": "store filters' values",
"range": [
625,
648
],
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 31
}
}
}
]
},
{
"type": "ForStatement",
"init": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "i",
"range": [
666,
667
],
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 17
}
}
},
"init": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
668,
669
],
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 19
}
}
},
"range": [
666,
669
],
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 19
}
}
}
],
"kind": "var",
"range": [
662,
669
],
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 19
}
}
},
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "i",
"range": [
671,
672
],
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
673,
675
],
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"name": "fltIds",
"range": [
676,
682
],
"loc": {
"start": {
"line": 28,
"column": 26
},
"end": {
"line": 28,
"column": 32
}
}
},
"range": [
673,
682
],
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"name": "length",
"range": [
683,
689
],
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 39
}
}
},
"range": [
673,
689
],
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 39
}
}
},
"range": [
671,
689
],
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 39
}
}
},
"update": {
"type": "UpdateExpression",
"operator": "++",
"argument": {
"type": "Identifier",
"name": "i",
"range": [
691,
692
],
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 42
}
}
},
"prefix": false,
"range": [
691,
694
],
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 44
}
}
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "value",
"range": [
714,
719
],
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 21
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
722,
724
],
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"name": "getFilterValue",
"range": [
725,
739
],
"loc": {
"start": {
"line": 29,
"column": 27
},
"end": {
"line": 29,
"column": 41
}
}
},
"range": [
722,
739
],
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 41
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "i",
"range": [
740,
741
],
"loc": {
"start": {
"line": 29,
"column": 42
},
"end": {
"line": 29,
"column": 43
}
}
}
],
"range": [
722,
742
],
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 44
}
}
},
"range": [
714,
742
],
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 44
}
}
}
],
"kind": "var",
"range": [
710,
743
],
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 45
}
}
},
{
"type": "IfStatement",
"test": {
"type": "BinaryExpression",
"operator": "===",
"left": {
"type": "Identifier",
"name": "value",
"range": [
761,
766
],
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 21
}
}
},
"right": {
"type": "Literal",
"value": "",
"raw": "''",
"range": [
771,
773
],
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 28
}
}
},
"range": [
761,
773
],
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 28
}
}
},
"consequent": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "value",
"range": [
793,
798
],
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 21
}
}
},
"right": {
"type": "Literal",
"value": " ",
"raw": "' '",
"range": [
801,
804
],
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 27
}
}
},
"range": [
793,
804
],
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 27
}
}
},
"range": [
793,
805
],
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 28
}
}
}
],
"range": [
774,
820
],
"loc": {
"start": {
"line": 30,
"column": 29
},
"end": {
"line": 32,
"column": 13
}
}
},
"alternate": null,
"range": [
757,
820
],
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "fltValues",
"range": [
834,
843
],
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"name": "push",
"range": [
844,
848
],
"loc": {
"start": {
"line": 33,
"column": 22
},
"end": {
"line": 33,
"column": 26
}
}
},
"range": [
834,
848
],
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 26
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "value",
"range": [
849,
854
],
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 32
}
}
}
],
"range": [
834,
855
],
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 33
}
}
},
"range": [
834,
856
],
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 34
}
}
}
],
"range": [
695,
867
],
"loc": {
"start": {
"line": 28,
"column": 45
},
"end": {
"line": 34,
"column": 9
}
}
},
"range": [
658,
867
],
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
},
"leadingComments": [
{
"type": "Line",
"value": "store filters' values",
"range": [
625,
648
],
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 31
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": "adds array size",
"range": [
877,
894
],
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 25
}
}
}
]
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "fltValues",
"range": [
904,
913
],
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"name": "push",
"range": [
914,
918
],
"loc": {
"start": {
"line": 36,
"column": 18
},
"end": {
"line": 36,
"column": 22
}
}
},
"range": [
904,
918
],
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 22
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
919,
921
],
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"name": "fltIds",
"range": [
922,
928
],
"loc": {
"start": {
"line": 36,
"column": 26
},
"end": {
"line": 36,
"column": 32
}
}
},
"range": [
919,
928
],
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"name": "length",
"range": [
929,
935
],
"loc": {
"start": {
"line": 36,
"column": 33
},
"end": {
"line": 36,
"column": 39
}
}
},
"range": [
919,
935
],
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 39
}
}
}
],
"range": [
904,
936
],
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 40
}
}
},
"range": [
904,
937
],
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 41
}
},
"leadingComments": [
{
"type": "Line",
"value": "adds array size",
"range": [
877,
894
],
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 25
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": "writes cookie",
"range": [
949,
964
],
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 23
}
}
}
]
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Cookie",
"range": [
974,
980
],
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"name": "write",
"range": [
981,
986
],
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 20
}
}
},
"range": [
974,
986
],
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 20
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "name",
"range": [
1001,
1005
],
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 16
}
}
},
{
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "fltValues",
"range": [
1020,
1029
],
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"name": "join",
"range": [
1030,
1034
],
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 26
}
}
},
"range": [
1020,
1034
],
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 26
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
1035,
1037
],
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"name": "separator",
"range": [
1038,
1047
],
"loc": {
"start": {
"line": 41,
"column": 30
},
"end": {
"line": 41,
"column": 39
}
}
},
"range": [
1035,
1047
],
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 39
}
}
}
],
"range": [
1020,
1048
],
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 40
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
1063,
1067
],
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "duration",
"range": [
1068,
1076
],
"loc": {
"start": {
"line": 42,
"column": 17
},
"end": {
"line": 42,
"column": 25
}
}
},
"range": [
1063,
1076
],
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 25
}
}
}
],
"range": [
974,
1087
],
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 43,
"column": 9
}
}
},
"range": [
974,
1088
],
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 43,
"column": 10
}
},
"leadingComments": [
{
"type": "Line",
"value": "writes cookie",
"range": [
949,
964
],
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 23
}
}
}
]
}
],
"range": [
558,
1095
],
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 44,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
552,
1095
],
"loc": {
"start": {
"line": 24,
"column": 20
},
"end": {
"line": 44,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
536,
1095
],
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\r\n * Store filters' values in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
442,
530
],
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
"value": "*\r\n * Retrieve filters' values from cookie\r\n * @param {String} cookie name\r\n * @return {Array}\r\n ",
"range": [
1103,
1220
],
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "getFilterValues",
"range": [
1226,
1241
],
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 19
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "name",
"range": [
1242,
1246
],
"loc": {
"start": {
"line": 51,
"column": 20
},
"end": {
"line": 51,
"column": 24
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "flts",
"range": [
1262,
1266
],
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 16
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Cookie",
"range": [
1269,
1275
],
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"name": "read",
"range": [
1276,
1280
],
"loc": {
"start": {
"line": 52,
"column": 26
},
"end": {
"line": 52,
"column": 30
}
}
},
"range": [
1269,
1280
],
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 30
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "name",
"range": [
1281,
1285
],
"loc": {
"start": {
"line": 52,
"column": 31
},
"end": {
"line": 52,
"column": 35
}
}
}
],
"range": [
1269,
1286
],
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 36
}
}
},
"range": [
1262,
1286
],
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 36
}
}
}
],
"kind": "var",
"range": [
1258,
1287
],
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 37
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "rgx",
"range": [
1301,
1304
],
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 15
}
}
},
"init": {
"type": "NewExpression",
"callee": {
"type": "Identifier",
"name": "RegExp",
"range": [
1311,
1317
],
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 28
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
1318,
1322
],
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
1323,
1325
],
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 36
}
}
},
"range": [
1318,
1325
],
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"name": "separator",
"range": [
1326,
1335
],
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 46
}
}
},
"range": [
1318,
1335
],
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 46
}
}
},
{
"type": "Literal",
"value": "g",
"raw": "'g'",
"range": [
1337,
1340
],
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 51
}
}
}
],
"range": [
1307,
1341
],
"loc": {
"start": {
"line": 53,
"column": 18
},
"end": {
"line": 53,
"column": 52
}
}
},
"range": [
1301,
1341
],
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 52
}
}
}
],
"kind": "var",
"range": [
1297,
1342
],
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 53
}
},
"trailingComments": [
{
"type": "Line",
"value": " filters' values array",
"range": [
1352,
1376
],
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 32
}
}
}
]
},
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "flts",
"range": [
1393,
1397
],
"loc": {
"start": {
"line": 55,
"column": 15
},
"end": {
"line": 55,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"name": "split",
"range": [
1398,
1403
],
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 25
}
}
},
"range": [
1393,
1403
],
"loc": {
"start": {
"line": 55,
"column": 15
},
"end": {
"line": 55,
"column": 25
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "rgx",
"range": [
1404,
1407
],
"loc": {
"start": {
"line": 55,
"column": 26
},
"end": {
"line": 55,
"column": 29
}
}
}
],
"range": [
1393,
1408
],
"loc": {
"start": {
"line": 55,
"column": 15
},
"end": {
"line": 55,
"column": 30
}
}
},
"range": [
1386,
1409
],
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 31
}
},
"leadingComments": [
{
"type": "Line",
"value": " filters' values array",
"range": [
1352,
1376
],
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 32
}
}
}
]
}
],
"range": [
1247,
1416
],
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 56,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
1241,
1416
],
"loc": {
"start": {
"line": 51,
"column": 19
},
"end": {
"line": 56,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
1226,
1416
],
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\r\n * Retrieve filters' values from cookie\r\n * @param {String} cookie name\r\n * @return {Array}\r\n ",
"range": [
1103,
1220
],
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
"value": "*\r\n * Store page number in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
1424,
1508
],
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "savePageNb",
"range": [
1514,
1524
],
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 14
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "name",
"range": [
1525,
1529
],
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 19
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Cookie",
"range": [
1541,
1547
],
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"name": "write",
"range": [
1548,
1553
],
"loc": {
"start": {
"line": 63,
"column": 15
},
"end": {
"line": 63,
"column": 20
}
}
},
"range": [
1541,
1553
],
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 20
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "name",
"range": [
1568,
1572
],
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 16
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
1587,
1591
],
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
1592,
1594
],
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 19
}
}
},
"range": [
1587,
1594
],
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"name": "feature",
"range": [
1595,
1602
],
"loc": {
"start": {
"line": 65,
"column": 20
},
"end": {
"line": 65,
"column": 27
}
}
},
"range": [
1587,
1602
],
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 27
}
}
},
"arguments": [
{
"type": "Literal",
"value": "paging",
"raw": "'paging'",
"range": [
1603,
1611
],
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 36
}
}
}
],
"range": [
1587,
1612
],
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"name": "currentPageNb",
"range": [
1613,
1626
],
"loc": {
"start": {
"line": 65,
"column": 38
},
"end": {
"line": 65,
"column": 51
}
}
},
"range": [
1587,
1626
],
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 51
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
1641,
1645
],
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "duration",
"range": [
1646,
1654
],
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 66,
"column": 25
}
}
},
"range": [
1641,
1654
],
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 25
}
}
}
],
"range": [
1541,
1665
],
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 67,
"column": 9
}
}
},
"range": [
1541,
1666
],
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 67,
"column": 10
}
}
}
],
"range": [
1530,
1673
],
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 68,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
1524,
1673
],
"loc": {
"start": {
"line": 62,
"column": 14
},
"end": {
"line": 68,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
1514,
1673
],
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\r\n * Store page number in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
1424,
1508
],
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
"value": "*\r\n * Retrieve page number from cookie\r\n * @param {String} cookie name\r\n * @return {String}\r\n ",
"range": [
1681,
1795
],
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "getPageNb",
"range": [
1801,
1810
],
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 13
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "name",
"range": [
1811,
1815
],
"loc": {
"start": {
"line": 75,
"column": 14
},
"end": {
"line": 75,
"column": 18
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Cookie",
"range": [
1834,
1840
],
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"name": "read",
"range": [
1841,
1845
],
"loc": {
"start": {
"line": 76,
"column": 22
},
"end": {
"line": 76,
"column": 26
}
}
},
"range": [
1834,
1845
],
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"column": 26
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "name",
"range": [
1846,
1850
],
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 31
}
}
}
],
"range": [
1834,
1851
],
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"column": 32
}
}
},
"range": [
1827,
1852
],
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 33
}
}
}
],
"range": [
1816,
1859
],
"loc": {
"start": {
"line": 75,
"column": 19
},
"end": {
"line": 77,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
1810,
1859
],
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 77,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
1801,
1859
],
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 77,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\r\n * Retrieve page number from cookie\r\n * @param {String} cookie name\r\n * @return {String}\r\n ",
"range": [
1681,
1795
],
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
"value": "*\r\n * Store page length in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
1867,
1951
],
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 82,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "savePageLength",
"range": [
1957,
1971
],
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 83,
"column": 18
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "name",
"range": [
1972,
1976
],
"loc": {
"start": {
"line": 83,
"column": 19
},
"end": {
"line": 83,
"column": 23
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Cookie",
"range": [
1988,
1994
],
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"name": "write",
"range": [
1995,
2000
],
"loc": {
"start": {
"line": 84,
"column": 15
},
"end": {
"line": 84,
"column": 20
}
}
},
"range": [
1988,
2000
],
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 20
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "name",
"range": [
2015,
2019
],
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2034,
2038
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2039,
2041
],
"loc": {
"start": {
"line": 86,
"column": 17
},
"end": {
"line": 86,
"column": 19
}
}
},
"range": [
2034,
2041
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"name": "feature",
"range": [
2042,
2049
],
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 27
}
}
},
"range": [
2034,
2049
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 27
}
}
},
"arguments": [
{
"type": "Literal",
"value": "paging",
"raw": "'paging'",
"range": [
2050,
2058
],
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 36
}
}
}
],
"range": [
2034,
2059
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"name": "resultsPerPageSlc",
"range": [
2060,
2077
],
"loc": {
"start": {
"line": 86,
"column": 38
},
"end": {
"line": 86,
"column": 55
}
}
},
"range": [
2034,
2077
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 55
}
}
},
"property": {
"type": "Identifier",
"name": "selectedIndex",
"range": [
2078,
2091
],
"loc": {
"start": {
"line": 86,
"column": 56
},
"end": {
"line": 86,
"column": 69
}
}
},
"range": [
2034,
2091
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 69
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2106,
2110
],
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "duration",
"range": [
2111,
2119
],
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 25
}
}
},
"range": [
2106,
2119
],
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 25
}
}
}
],
"range": [
1988,
2130
],
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 88,
"column": 9
}
}
},
"range": [
1988,
2131
],
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 88,
"column": 10
}
}
}
],
"range": [
1977,
2138
],
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 89,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
1971,
2138
],
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 89,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
1957,
2138
],
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\r\n * Store page length in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
1867,
1951
],
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 82,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
"value": "*\r\n * Retrieve page length from cookie\r\n * @param {String} cookie name\r\n * @return {String}\r\n ",
"range": [
2146,
2260
],
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 95,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "getPageLength",
"range": [
2266,
2279
],
"loc": {
"start": {
"line": 96,
"column": 4
},
"end": {
"line": 96,
"column": 17
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "name",
"range": [
2280,
2284
],
"loc": {
"start": {
"line": 96,
"column": 18
},
"end": {
"line": 96,
"column": 22
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Cookie",
"range": [
2303,
2309
],
"loc": {
"start": {
"line": 97,
"column": 15
},
"end": {
"line": 97,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"name": "read",
"range": [
2310,
2314
],
"loc": {
"start": {
"line": 97,
"column": 22
},
"end": {
"line": 97,
"column": 26
}
}
},
"range": [
2303,
2314
],
"loc": {
"start": {
"line": 97,
"column": 15
},
"end": {
"line": 97,
"column": 26
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "name",
"range": [
2315,
2319
],
"loc": {
"start": {
"line": 97,
"column": 27
},
"end": {
"line": 97,
"column": 31
}
}
}
],
"range": [
2303,
2320
],
"loc": {
"start": {
"line": 97,
"column": 15
},
"end": {
"line": 97,
"column": 32
}
}
},
"range": [
2296,
2321
],
"loc": {
"start": {
"line": 97,
"column": 8
},
"end": {
"line": 97,
"column": 33
}
}
}
],
"range": [
2285,
2328
],
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 98,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2279,
2328
],
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 98,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
2266,
2328
],
"loc": {
"start": {
"line": 96,
"column": 4
},
"end": {
"line": 98,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\r\n * Retrieve page length from cookie\r\n * @param {String} cookie name\r\n * @return {String}\r\n ",
"range": [
2146,
2260
],
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 95,
"column": 7
}
}
}
],
"static": false
}
],
"range": [
53,
2333
],
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 100,
"column": 1
}
}
},
"range": [
42,
2333
],
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 100,
"column": 1
}
},
"leadingComments": [],
"trailingComments": []
},
"specifiers": [],
"source": null,
"range": [
35,
2333
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 100,
"column": 1
}
}
}
],
"sourceType": "module",
"range": [
0,
2333
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 100,
"column": 1
}
},
"comments": [
{
"type": "Block",
"value": "*\r\n * Store, persistence manager\r\n * @param {Object} tf TableFilter instance\r\n *\r\n * TODO: use localStorage and fallback to cookie persistence\r\n ",
"range": [
62,
231
],
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 10,
"column": 7
}
}
},
{
"type": "Block",
"value": "*\r\n * Store filters' values in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
442,
530
],
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
},
{
"type": "Line",
"value": "store filters' values",
"range": [
625,
648
],
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 31
}
}
},
{
"type": "Line",
"value": "adds array size",
"range": [
877,
894
],
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 25
}
}
},
{
"type": "Line",
"value": "writes cookie",
"range": [
949,
964
],
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 23
}
}
},
{
"type": "Block",
"value": "*\r\n * Retrieve filters' values from cookie\r\n * @param {String} cookie name\r\n * @return {Array}\r\n ",
"range": [
1103,
1220
],
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
},
{
"type": "Line",
"value": " filters' values array",
"range": [
1352,
1376
],
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 32
}
}
},
{
"type": "Block",
"value": "*\r\n * Store page number in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
1424,
1508
],
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
},
{
"type": "Block",
"value": "*\r\n * Retrieve page number from cookie\r\n * @param {String} cookie name\r\n * @return {String}\r\n ",
"range": [
1681,
1795
],
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
},
{
"type": "Block",
"value": "*\r\n * Store page length in cookie\r\n * @param {String} cookie name\r\n ",
"range": [
1867,
1951
],
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 82,
"column": 7
}
}
},
{
"type": "Block",
"value": "*\r\n * Retrieve page length from cookie\r\n * @param {String} cookie name\r\n * @return {String}\r\n ",
"range": [
2146,
2260
],
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 95,
"column": 7
}
}
}
]
}