1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-04 23:12:22 +02:00
TableFilter/doc/ast/source/src/modules/alternateRows.js.json

6127 lines
216 KiB
JSON
Raw Normal View History

{
"type": "Program",
"body": [
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"local": {
"type": "Identifier",
"name": "Dom",
"range": [
7,
10
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 10
}
}
},
"range": [
7,
10
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 10
}
}
}
],
"source": {
"type": "Literal",
"value": "../dom",
"raw": "'../dom'",
"range": [
16,
24
],
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 24
}
}
},
"range": [
0,
25
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "ClassDeclaration",
"id": {
"type": "Identifier",
"name": "AlternateRows",
"range": [
2015-08-06 07:27:09 +02:00
42,
55
],
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"column": 26
}
}
},
"superClass": null,
"body": {
"type": "ClassBody",
"body": [
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "constructor",
"range": [
2015-08-06 07:27:09 +02:00
161,
172
],
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
173,
175
],
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 18
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "f",
"range": [
2015-08-06 07:27:09 +02:00
192,
193
],
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
196,
198
],
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"name": "config",
"range": [
2015-08-06 07:27:09 +02:00
199,
205
],
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 25
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
196,
205
],
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 25
}
}
},
"arguments": [],
"range": [
2015-08-06 07:27:09 +02:00
196,
207
],
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 27
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
192,
207
],
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 27
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
188,
208
],
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 28
}
},
"trailingComments": [
{
"type": "Line",
"value": "defines css class for even rows",
"range": [
2015-08-06 07:27:09 +02:00
218,
251
],
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 41
}
}
}
]
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
261,
265
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "evenCss",
"range": [
2015-08-06 07:27:09 +02:00
266,
273
],
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 20
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
261,
273
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 20
}
}
},
"right": {
"type": "LogicalExpression",
"operator": "||",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "f",
"range": [
2015-08-06 07:27:09 +02:00
276,
277
],
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"name": "even_row_css_class",
"range": [
2015-08-06 07:27:09 +02:00
278,
296
],
"loc": {
"start": {
"line": 12,
"column": 25
},
"end": {
"line": 12,
"column": 43
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
276,
296
],
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 43
}
}
},
"right": {
"type": "Literal",
"value": "even",
"raw": "'even'",
"range": [
2015-08-06 07:27:09 +02:00
300,
306
],
"loc": {
"start": {
"line": 12,
"column": 47
},
"end": {
"line": 12,
"column": 53
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
276,
306
],
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 53
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
261,
306
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 53
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
261,
307
],
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 54
}
},
"leadingComments": [
{
"type": "Line",
"value": "defines css class for even rows",
"range": [
2015-08-06 07:27:09 +02:00
218,
251
],
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 41
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": "defines css class for odd rows",
"range": [
2015-08-06 07:27:09 +02:00
317,
349
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 40
}
}
}
]
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
359,
363
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "oddCss",
"range": [
2015-08-06 07:27:09 +02:00
364,
370
],
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 19
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
359,
370
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 19
}
}
},
"right": {
"type": "LogicalExpression",
"operator": "||",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "f",
"range": [
2015-08-06 07:27:09 +02:00
373,
374
],
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"name": "odd_row_css_class",
"range": [
2015-08-06 07:27:09 +02:00
375,
392
],
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 41
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
373,
392
],
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 41
}
}
},
"right": {
"type": "Literal",
"value": "odd",
"raw": "'odd'",
"range": [
2015-08-06 07:27:09 +02:00
396,
401
],
"loc": {
"start": {
"line": 14,
"column": 45
},
"end": {
"line": 14,
"column": 50
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
373,
401
],
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 50
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
359,
401
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 50
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
359,
402
],
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 51
}
},
"leadingComments": [
{
"type": "Line",
"value": "defines css class for odd rows",
"range": [
2015-08-06 07:27:09 +02:00
317,
349
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 40
}
}
}
]
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
414,
418
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
419,
421
],
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
414,
421
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
}
},
"right": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
424,
426
],
"loc": {
"start": {
"line": 16,
"column": 18
},
"end": {
"line": 16,
"column": 20
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
414,
426
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 20
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
414,
427
],
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 21
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
177,
434
],
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 17,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2015-08-06 07:27:09 +02:00
172,
434
],
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 17,
"column": 5
}
}
},
"kind": "constructor",
"computed": false,
"range": [
2015-08-06 07:27:09 +02:00
161,
434
],
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 17,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Alternating rows color\r\n * @param {Object} tf TableFilter instance\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
64,
155
],
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 8,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Sets alternating rows color\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
442,
490
],
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "init",
"range": [
2015-08-06 07:27:09 +02:00
496,
500
],
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 8
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
518,
520
],
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 14
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
523,
527
],
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
528,
530
],
"loc": {
"start": {
"line": 23,
"column": 22
},
"end": {
"line": 23,
"column": 24
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
523,
530
],
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 24
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
518,
530
],
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 24
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
514,
531
],
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 25
}
}
},
{
"type": "IfStatement",
"test": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "UnaryExpression",
"operator": "!",
"argument": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
545,
547
],
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"name": "hasGrid",
"range": [
2015-08-06 07:27:09 +02:00
548,
555
],
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 22
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
545,
555
],
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 22
}
}
},
"arguments": [],
"range": [
2015-08-06 07:27:09 +02:00
545,
557
],
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 24
}
}
},
"prefix": true,
"range": [
2015-08-06 07:27:09 +02:00
544,
557
],
"loc": {
"start": {
"line": 24,
"column": 11
},
"end": {
"line": 24,
"column": 24
}
}
},
"right": {
"type": "UnaryExpression",
"operator": "!",
"argument": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
562,
564
],
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"name": "isFirstLoad",
"range": [
2015-08-06 07:27:09 +02:00
565,
576
],
"loc": {
"start": {
"line": 24,
"column": 32
},
"end": {
"line": 24,
"column": 43
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
562,
576
],
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 43
}
}
},
"prefix": true,
"range": [
2015-08-06 07:27:09 +02:00
561,
576
],
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 43
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
544,
576
],
"loc": {
"start": {
"line": 24,
"column": 11
},
"end": {
"line": 24,
"column": 43
}
}
},
"consequent": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": null,
"range": [
2015-08-06 07:27:09 +02:00
592,
599
],
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 19
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
577,
610
],
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 26,
"column": 9
}
}
},
"alternate": null,
"range": [
2015-08-06 07:27:09 +02:00
541,
610
],
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 26,
"column": 9
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "validRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
624,
638
],
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 26
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
641,
643
],
"loc": {
"start": {
"line": 27,
"column": 29
},
"end": {
"line": 27,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"name": "validRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
644,
658
],
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 46
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
641,
658
],
"loc": {
"start": {
"line": 27,
"column": 29
},
"end": {
"line": 27,
"column": 46
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
624,
658
],
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 46
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
620,
659
],
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 47
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "noValidRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
673,
689
],
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 28
}
}
},
"init": {
"type": "BinaryExpression",
"operator": "===",
"left": {
"type": "Identifier",
"name": "validRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
692,
706
],
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 45
}
}
},
"right": {
"type": "Literal",
"value": null,
"raw": "null",
"range": [
2015-08-06 07:27:09 +02:00
709,
713
],
"loc": {
"start": {
"line": 28,
"column": 48
},
"end": {
"line": 28,
"column": 52
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
692,
713
],
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 52
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
673,
713
],
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 52
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
669,
714
],
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 53
}
},
"trailingComments": [
{
"type": "Line",
"value": "1st index",
"range": [
2015-08-06 07:27:09 +02:00
724,
735
],
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 19
}
}
}
]
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "beginIndex",
"range": [
2015-08-06 07:27:09 +02:00
749,
759
],
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 22
}
}
},
"init": {
"type": "ConditionalExpression",
"test": {
"type": "Identifier",
"name": "noValidRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
762,
778
],
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 41
}
}
},
"consequent": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
781,
783
],
"loc": {
"start": {
"line": 30,
"column": 44
},
"end": {
"line": 30,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"name": "refRow",
"range": [
2015-08-06 07:27:09 +02:00
784,
790
],
"loc": {
"start": {
"line": 30,
"column": 47
},
"end": {
"line": 30,
"column": 53
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
781,
790
],
"loc": {
"start": {
"line": 30,
"column": 44
},
"end": {
"line": 30,
"column": 53
}
}
},
"alternate": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
2015-08-06 07:27:09 +02:00
793,
794
],
"loc": {
"start": {
"line": 30,
"column": 56
},
"end": {
"line": 30,
"column": 57
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
762,
794
],
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 57
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
749,
794
],
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 57
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
745,
795
],
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 58
}
},
"leadingComments": [
{
"type": "Line",
"value": "1st index",
"range": [
2015-08-06 07:27:09 +02:00
724,
735
],
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 19
}
}
}
],
"trailingComments": [
{
"type": "Line",
"value": " nb indexes",
"range": [
2015-08-06 07:27:09 +02:00
805,
818
],
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 21
}
}
}
]
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "indexLen",
"range": [
2015-08-06 07:27:09 +02:00
832,
840
],
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 20
}
}
},
"init": {
"type": "ConditionalExpression",
"test": {
"type": "Identifier",
"name": "noValidRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
843,
859
],
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 39
}
}
},
"consequent": {
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
879,
881
],
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"name": "nbFilterableRows",
"range": [
2015-08-06 07:27:09 +02:00
882,
898
],
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 33,
"column": 35
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
879,
898
],
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 35
}
}
},
"right": {
"type": "Identifier",
"name": "beginIndex",
"range": [
2015-08-06 07:27:09 +02:00
899,
909
],
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 46
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
879,
909
],
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 46
}
}
},
"alternate": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "validRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
929,
943
],
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"name": "length",
"range": [
2015-08-06 07:27:09 +02:00
944,
950
],
"loc": {
"start": {
"line": 34,
"column": 31
},
"end": {
"line": 34,
"column": 37
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
929,
950
],
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 37
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
843,
950
],
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 34,
"column": 37
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
832,
950
],
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 34,
"column": 37
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
828,
951
],
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 38
}
},
"leadingComments": [
{
"type": "Line",
"value": " nb indexes",
"range": [
2015-08-06 07:27:09 +02:00
805,
818
],
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 21
}
}
}
]
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
965,
968
],
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 15
}
}
},
"init": {
"type": "Literal",
"value": 0,
"raw": "0",
"range": [
2015-08-06 07:27:09 +02:00
971,
972
],
"loc": {
"start": {
"line": 35,
"column": 18
},
"end": {
"line": 35,
"column": 19
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
965,
972
],
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 19
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
961,
973
],
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 20
}
},
"trailingComments": [
{
"type": "Line",
"value": "alternates bg color",
"range": [
2015-08-06 07:27:09 +02:00
985,
1006
],
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 29
}
}
}
]
},
{
"type": "ForStatement",
"init": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "j",
"range": [
2015-08-06 07:27:09 +02:00
1024,
1025
],
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
"init": {
"type": "Identifier",
"name": "beginIndex",
"range": [
2015-08-06 07:27:09 +02:00
1026,
1036
],
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 28
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1024,
1036
],
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 28
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
1020,
1036
],
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 28
}
}
},
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "j",
"range": [
2015-08-06 07:27:09 +02:00
1038,
1039
],
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 31
}
}
},
"right": {
"type": "Identifier",
"name": "indexLen",
"range": [
2015-08-06 07:27:09 +02:00
1040,
1048
],
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 40
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1038,
1048
],
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 40
}
}
},
"update": {
"type": "UpdateExpression",
"operator": "++",
"argument": {
"type": "Identifier",
"name": "j",
"range": [
2015-08-06 07:27:09 +02:00
1050,
1051
],
"loc": {
"start": {
"line": 38,
"column": 42
},
"end": {
"line": 38,
"column": 43
}
}
},
"prefix": false,
"range": [
2015-08-06 07:27:09 +02:00
1050,
1053
],
"loc": {
"start": {
"line": 38,
"column": 42
},
"end": {
"line": 38,
"column": 45
}
}
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "rowIdx",
"range": [
2015-08-06 07:27:09 +02:00
1073,
1079
],
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 22
}
}
},
"init": {
"type": "ConditionalExpression",
"test": {
"type": "Identifier",
"name": "noValidRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
1082,
1098
],
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 41
}
}
},
"consequent": {
"type": "Identifier",
"name": "j",
"range": [
2015-08-06 07:27:09 +02:00
1101,
1102
],
"loc": {
"start": {
"line": 39,
"column": 44
},
"end": {
"line": 39,
"column": 45
}
}
},
"alternate": {
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "validRowsIndex",
"range": [
2015-08-06 07:27:09 +02:00
1105,
1119
],
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 39,
"column": 62
}
}
},
"property": {
"type": "Identifier",
"name": "j",
"range": [
2015-08-06 07:27:09 +02:00
1120,
1121
],
"loc": {
"start": {
"line": 39,
"column": 63
},
"end": {
"line": 39,
"column": 64
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1105,
1122
],
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 39,
"column": 65
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1082,
1122
],
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 65
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1073,
1122
],
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 65
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
1069,
1123
],
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 66
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1137,
1141
],
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "setRowBg",
"range": [
2015-08-06 07:27:09 +02:00
1142,
1150
],
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 25
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1137,
1150
],
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 25
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "rowIdx",
"range": [
2015-08-06 07:27:09 +02:00
1151,
1157
],
"loc": {
"start": {
"line": 40,
"column": 26
},
"end": {
"line": 40,
"column": 32
}
}
},
{
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1159,
1162
],
"loc": {
"start": {
"line": 40,
"column": 34
},
"end": {
"line": 40,
"column": 37
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1137,
1163
],
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 38
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1137,
1164
],
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 39
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "UpdateExpression",
"operator": "++",
"argument": {
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1178,
1181
],
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 15
}
}
},
"prefix": false,
"range": [
2015-08-06 07:27:09 +02:00
1178,
1183
],
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 17
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1178,
1184
],
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 18
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1054,
1195
],
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 42,
"column": 9
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1016,
1195
],
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
},
"leadingComments": [
{
"type": "Line",
"value": "alternates bg color",
"range": [
2015-08-06 07:27:09 +02:00
985,
1006
],
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 29
}
}
}
]
}
],
"range": [
2015-08-06 07:27:09 +02:00
503,
1202
],
"loc": {
"start": {
"line": 22,
"column": 11
},
"end": {
"line": 43,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2015-08-06 07:27:09 +02:00
500,
1202
],
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 43,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
2015-08-06 07:27:09 +02:00
496,
1202
],
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 43,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Sets alternating rows color\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
442,
490
],
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Sets row background color\r\n * @param {Number} rowIdx Row index\r\n * @param {Number} idx Valid rows collection index needed to calculate bg\r\n * color\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
1210,
1393
],
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "setRowBg",
"range": [
2015-08-06 07:27:09 +02:00
1399,
1407
],
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 12
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "rowIdx",
"range": [
2015-08-06 07:27:09 +02:00
1408,
1414
],
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 19
}
}
},
{
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1416,
1419
],
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 24
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "IfStatement",
"test": {
"type": "LogicalExpression",
"operator": "||",
"left": {
"type": "UnaryExpression",
"operator": "!",
"argument": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1436,
1440
],
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
1441,
1443
],
"loc": {
"start": {
"line": 52,
"column": 17
},
"end": {
"line": 52,
"column": 19
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1436,
1443
],
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"name": "alternateBgs",
"range": [
2015-08-06 07:27:09 +02:00
1444,
1456
],
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 32
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1436,
1456
],
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 32
}
}
},
"prefix": true,
"range": [
2015-08-06 07:27:09 +02:00
1435,
1456
],
"loc": {
"start": {
"line": 52,
"column": 11
},
"end": {
"line": 52,
"column": 32
}
}
},
"right": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "isNaN",
"range": [
2015-08-06 07:27:09 +02:00
1460,
1465
],
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 52,
"column": 41
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "rowIdx",
"range": [
2015-08-06 07:27:09 +02:00
1466,
1472
],
"loc": {
"start": {
"line": 52,
"column": 42
},
"end": {
"line": 52,
"column": 48
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1460,
1473
],
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 52,
"column": 49
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1435,
1473
],
"loc": {
"start": {
"line": 52,
"column": 11
},
"end": {
"line": 52,
"column": 49
}
}
},
"consequent": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": null,
"range": [
2015-08-06 07:27:09 +02:00
1489,
1496
],
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 19
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1474,
1507
],
"loc": {
"start": {
"line": 52,
"column": 50
},
"end": {
"line": 54,
"column": 9
}
}
},
"alternate": null,
"range": [
2015-08-06 07:27:09 +02:00
1432,
1507
],
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 54,
"column": 9
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "rows",
"range": [
2015-08-06 07:27:09 +02:00
1521,
1525
],
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 16
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1528,
1532
],
"loc": {
"start": {
"line": 55,
"column": 19
},
"end": {
"line": 55,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
1533,
1535
],
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 26
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1528,
1535
],
"loc": {
"start": {
"line": 55,
"column": 19
},
"end": {
"line": 55,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"name": "tbl",
"range": [
2015-08-06 07:27:09 +02:00
1536,
1539
],
"loc": {
"start": {
"line": 55,
"column": 27
},
"end": {
"line": 55,
"column": 30
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1528,
1539
],
"loc": {
"start": {
"line": 55,
"column": 19
},
"end": {
"line": 55,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"name": "rows",
"range": [
2015-08-06 07:27:09 +02:00
1540,
1544
],
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 35
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1528,
1544
],
"loc": {
"start": {
"line": 55,
"column": 19
},
"end": {
"line": 55,
"column": 35
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1521,
1544
],
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 35
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
1517,
1545
],
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 36
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "i",
"range": [
2015-08-06 07:27:09 +02:00
1559,
1560
],
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 13
}
}
},
"init": {
"type": "ConditionalExpression",
"test": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "isNaN",
"range": [
2015-08-06 07:27:09 +02:00
1563,
1568
],
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 21
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1569,
1572
],
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 25
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1563,
1573
],
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 26
}
}
},
"consequent": {
"type": "Identifier",
"name": "rowIdx",
"range": [
2015-08-06 07:27:09 +02:00
1576,
1582
],
"loc": {
"start": {
"line": 56,
"column": 29
},
"end": {
"line": 56,
"column": 35
}
}
},
"alternate": {
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1585,
1588
],
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 41
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1563,
1588
],
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 41
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1559,
1588
],
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 41
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
1555,
1589
],
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 42
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1599,
1603
],
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "removeRowBg",
"range": [
2015-08-06 07:27:09 +02:00
1604,
1615
],
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 24
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1599,
1615
],
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 24
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "rowIdx",
"range": [
2015-08-06 07:27:09 +02:00
1616,
1622
],
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 31
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1599,
1623
],
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 32
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1599,
1624
],
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 33
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Dom",
"range": [
2015-08-06 07:27:09 +02:00
1636,
1639
],
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 11
}
}
},
"property": {
"type": "Identifier",
"name": "addClass",
"range": [
2015-08-06 07:27:09 +02:00
1640,
1648
],
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 20
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1636,
1648
],
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 20
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "rows",
"range": [
2015-08-06 07:27:09 +02:00
1663,
1667
],
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "rowIdx",
"range": [
2015-08-06 07:27:09 +02:00
1668,
1674
],
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 23
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1663,
1675
],
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 24
}
}
},
{
"type": "ConditionalExpression",
"test": {
"type": "BinaryExpression",
"operator": "%",
"left": {
"type": "Identifier",
"name": "i",
"range": [
2015-08-06 07:27:09 +02:00
1691,
1692
],
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 14
}
}
},
"right": {
"type": "Literal",
"value": 2,
"raw": "2",
"range": [
2015-08-06 07:27:09 +02:00
1693,
1694
],
"loc": {
"start": {
"line": 61,
"column": 15
},
"end": {
"line": 61,
"column": 16
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1691,
1694
],
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 16
}
}
},
"consequent": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1698,
1702
],
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"name": "evenCss",
"range": [
2015-08-06 07:27:09 +02:00
1703,
1710
],
"loc": {
"start": {
"line": 61,
"column": 25
},
"end": {
"line": 61,
"column": 32
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1698,
1710
],
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 32
}
}
},
"alternate": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1713,
1717
],
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"name": "oddCss",
"range": [
2015-08-06 07:27:09 +02:00
1718,
1724
],
"loc": {
"start": {
"line": 61,
"column": 40
},
"end": {
"line": 61,
"column": 46
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1713,
1724
],
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 46
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1690,
1724
],
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 46
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1636,
1735
],
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 62,
"column": 9
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1636,
1736
],
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 62,
"column": 10
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1421,
1743
],
"loc": {
"start": {
"line": 51,
"column": 26
},
"end": {
"line": 63,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2015-08-06 07:27:09 +02:00
1407,
1743
],
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 63,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
2015-08-06 07:27:09 +02:00
1399,
1743
],
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 63,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Sets row background color\r\n * @param {Number} rowIdx Row index\r\n * @param {Number} idx Valid rows collection index needed to calculate bg\r\n * color\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
1210,
1393
],
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Removes row background color\r\n * @param {Number} idx Row index\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
1751,
1839
],
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "removeRowBg",
"range": [
2015-08-06 07:27:09 +02:00
1845,
1856
],
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 15
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1857,
1860
],
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 19
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "IfStatement",
"test": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "isNaN",
"range": [
2015-08-06 07:27:09 +02:00
1876,
1881
],
"loc": {
"start": {
"line": 70,
"column": 11
},
"end": {
"line": 70,
"column": 16
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1882,
1885
],
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 20
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1876,
1886
],
"loc": {
"start": {
"line": 70,
"column": 11
},
"end": {
"line": 70,
"column": 21
}
}
},
"consequent": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": null,
"range": [
2015-08-06 07:27:09 +02:00
1902,
1909
],
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 19
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1887,
1920
],
"loc": {
"start": {
"line": 70,
"column": 22
},
"end": {
"line": 72,
"column": 9
}
}
},
"alternate": null,
"range": [
2015-08-06 07:27:09 +02:00
1873,
1920
],
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 72,
"column": 9
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "rows",
"range": [
2015-08-06 07:27:09 +02:00
1934,
1938
],
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 16
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1941,
1945
],
"loc": {
"start": {
"line": 73,
"column": 19
},
"end": {
"line": 73,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
1946,
1948
],
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 26
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1941,
1948
],
"loc": {
"start": {
"line": 73,
"column": 19
},
"end": {
"line": 73,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"name": "tbl",
"range": [
2015-08-06 07:27:09 +02:00
1949,
1952
],
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 73,
"column": 30
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1941,
1952
],
"loc": {
"start": {
"line": 73,
"column": 19
},
"end": {
"line": 73,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"name": "rows",
"range": [
2015-08-06 07:27:09 +02:00
1953,
1957
],
"loc": {
"start": {
"line": 73,
"column": 31
},
"end": {
"line": 73,
"column": 35
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1941,
1957
],
"loc": {
"start": {
"line": 73,
"column": 19
},
"end": {
"line": 73,
"column": 35
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1934,
1957
],
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 35
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
1930,
1958
],
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 36
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Dom",
"range": [
2015-08-06 07:27:09 +02:00
1968,
1971
],
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 11
}
}
},
"property": {
"type": "Identifier",
"name": "removeClass",
"range": [
2015-08-06 07:27:09 +02:00
1972,
1983
],
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 23
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1968,
1983
],
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 23
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "rows",
"range": [
2015-08-06 07:27:09 +02:00
1984,
1988
],
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
1989,
1992
],
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 32
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1984,
1993
],
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 33
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
1995,
1999
],
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 74,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"name": "oddCss",
"range": [
2015-08-06 07:27:09 +02:00
2000,
2006
],
"loc": {
"start": {
"line": 74,
"column": 40
},
"end": {
"line": 74,
"column": 46
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1995,
2006
],
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 74,
"column": 46
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1968,
2007
],
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 47
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
1968,
2008
],
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 48
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "Dom",
"range": [
2015-08-06 07:27:09 +02:00
2018,
2021
],
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 11
}
}
},
"property": {
"type": "Identifier",
"name": "removeClass",
"range": [
2015-08-06 07:27:09 +02:00
2022,
2033
],
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 23
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2018,
2033
],
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 23
}
}
},
"arguments": [
{
"type": "MemberExpression",
"computed": true,
"object": {
"type": "Identifier",
"name": "rows",
"range": [
2015-08-06 07:27:09 +02:00
2034,
2038
],
"loc": {
"start": {
"line": 75,
"column": 24
},
"end": {
"line": 75,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"name": "idx",
"range": [
2015-08-06 07:27:09 +02:00
2039,
2042
],
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 32
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2034,
2043
],
"loc": {
"start": {
"line": 75,
"column": 24
},
"end": {
"line": 75,
"column": 33
}
}
},
{
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
2045,
2049
],
"loc": {
"start": {
"line": 75,
"column": 35
},
"end": {
"line": 75,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"name": "evenCss",
"range": [
2015-08-06 07:27:09 +02:00
2050,
2057
],
"loc": {
"start": {
"line": 75,
"column": 40
},
"end": {
"line": 75,
"column": 47
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2045,
2057
],
"loc": {
"start": {
"line": 75,
"column": 35
},
"end": {
"line": 75,
"column": 47
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
2018,
2058
],
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 48
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2018,
2059
],
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 49
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
1862,
2066
],
"loc": {
"start": {
"line": 69,
"column": 21
},
"end": {
"line": 76,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2015-08-06 07:27:09 +02:00
1856,
2066
],
"loc": {
"start": {
"line": 69,
"column": 15
},
"end": {
"line": 76,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
2015-08-06 07:27:09 +02:00
1845,
2066
],
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Removes row background color\r\n * @param {Number} idx Row index\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
1751,
1839
],
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Removes all alternating backgrounds\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
2074,
2130
],
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "remove",
"range": [
2015-08-06 07:27:09 +02:00
2136,
2142
],
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 10
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "IfStatement",
"test": {
"type": "UnaryExpression",
"operator": "!",
"argument": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
2160,
2164
],
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
2165,
2167
],
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 19
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2160,
2167
],
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"name": "hasGrid",
"range": [
2015-08-06 07:27:09 +02:00
2168,
2175
],
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 27
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2160,
2175
],
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 27
}
}
},
"arguments": [],
"range": [
2015-08-06 07:27:09 +02:00
2160,
2177
],
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 29
}
}
},
"prefix": true,
"range": [
2015-08-06 07:27:09 +02:00
2159,
2177
],
"loc": {
"start": {
"line": 82,
"column": 11
},
"end": {
"line": 82,
"column": 29
}
}
},
"consequent": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": null,
"range": [
2015-08-06 07:27:09 +02:00
2193,
2200
],
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 19
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
2178,
2211
],
"loc": {
"start": {
"line": 82,
"column": 30
},
"end": {
"line": 84,
"column": 9
}
}
},
"alternate": null,
"range": [
2015-08-06 07:27:09 +02:00
2156,
2211
],
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 84,
"column": 9
}
}
},
{
"type": "ForStatement",
"init": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "i",
"range": [
2015-08-06 07:27:09 +02:00
2229,
2230
],
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 17
}
}
},
"init": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
2231,
2235
],
"loc": {
"start": {
"line": 85,
"column": 18
},
"end": {
"line": 85,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
2236,
2238
],
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 25
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2231,
2238
],
"loc": {
"start": {
"line": 85,
"column": 18
},
"end": {
"line": 85,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"name": "refRow",
"range": [
2015-08-06 07:27:09 +02:00
2239,
2245
],
"loc": {
"start": {
"line": 85,
"column": 26
},
"end": {
"line": 85,
"column": 32
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2231,
2245
],
"loc": {
"start": {
"line": 85,
"column": 18
},
"end": {
"line": 85,
"column": 32
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2229,
2245
],
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 32
}
}
}
],
"kind": "var",
"range": [
2015-08-06 07:27:09 +02:00
2225,
2245
],
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 32
}
}
},
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "i",
"range": [
2015-08-06 07:27:09 +02:00
2247,
2248
],
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 35
}
}
},
"right": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
2249,
2253
],
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
2254,
2256
],
"loc": {
"start": {
"line": 85,
"column": 41
},
"end": {
"line": 85,
"column": 43
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2249,
2256
],
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 43
}
}
},
"property": {
"type": "Identifier",
"name": "nbRows",
"range": [
2015-08-06 07:27:09 +02:00
2257,
2263
],
"loc": {
"start": {
"line": 85,
"column": 44
},
"end": {
"line": 85,
"column": 50
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2249,
2263
],
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 50
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2247,
2263
],
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 50
}
}
},
"update": {
"type": "UpdateExpression",
"operator": "++",
"argument": {
"type": "Identifier",
"name": "i",
"range": [
2015-08-06 07:27:09 +02:00
2265,
2266
],
"loc": {
"start": {
"line": 85,
"column": 52
},
"end": {
"line": 85,
"column": 53
}
}
},
"prefix": false,
"range": [
2015-08-06 07:27:09 +02:00
2265,
2268
],
"loc": {
"start": {
"line": 85,
"column": 52
},
"end": {
"line": 85,
"column": 55
}
}
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
2284,
2288
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"name": "removeRowBg",
"range": [
2015-08-06 07:27:09 +02:00
2289,
2300
],
"loc": {
"start": {
"line": 86,
"column": 17
},
"end": {
"line": 86,
"column": 28
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2284,
2300
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 28
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "i",
"range": [
2015-08-06 07:27:09 +02:00
2301,
2302
],
"loc": {
"start": {
"line": 86,
"column": 29
},
"end": {
"line": 86,
"column": 30
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
2284,
2303
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 31
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2284,
2304
],
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 32
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
2269,
2315
],
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 87,
"column": 9
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2221,
2315
],
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
2145,
2322
],
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 88,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2015-08-06 07:27:09 +02:00
2142,
2322
],
"loc": {
"start": {
"line": 81,
"column": 10
},
"end": {
"line": 88,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
2015-08-06 07:27:09 +02:00
2136,
2322
],
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 88,
"column": 5
}
},
"leadingComments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Removes all alternating backgrounds\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
2074,
2130
],
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
}
],
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "enable",
"range": [
2015-08-06 07:27:09 +02:00
2330,
2336
],
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 10
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
2350,
2354
],
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
2355,
2357
],
"loc": {
"start": {
"line": 91,
"column": 13
},
"end": {
"line": 91,
"column": 15
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2350,
2357
],
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 15
}
}
},
"property": {
"type": "Identifier",
"name": "alternateBgs",
"range": [
2015-08-06 07:27:09 +02:00
2358,
2370
],
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 28
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2350,
2370
],
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 28
}
}
},
"right": {
"type": "Literal",
"value": true,
"raw": "true",
"range": [
2015-08-06 07:27:09 +02:00
2373,
2377
],
"loc": {
"start": {
"line": 91,
"column": 31
},
"end": {
"line": 91,
"column": 35
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2350,
2377
],
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 35
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2350,
2378
],
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 36
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
2339,
2385
],
"loc": {
"start": {
"line": 90,
"column": 13
},
"end": {
"line": 92,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2015-08-06 07:27:09 +02:00
2336,
2385
],
"loc": {
"start": {
"line": 90,
"column": 10
},
"end": {
"line": 92,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
2015-08-06 07:27:09 +02:00
2330,
2385
],
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 92,
"column": 5
}
},
"static": false
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "disable",
"range": [
2015-08-06 07:27:09 +02:00
2393,
2400
],
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 11
}
}
},
"value": {
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "ThisExpression",
"range": [
2015-08-06 07:27:09 +02:00
2414,
2418
],
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"name": "tf",
"range": [
2015-08-06 07:27:09 +02:00
2419,
2421
],
"loc": {
"start": {
"line": 95,
"column": 13
},
"end": {
"line": 95,
"column": 15
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2414,
2421
],
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 15
}
}
},
"property": {
"type": "Identifier",
"name": "alternateBgs",
"range": [
2015-08-06 07:27:09 +02:00
2422,
2434
],
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 28
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2414,
2434
],
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 28
}
}
},
"right": {
"type": "Literal",
"value": false,
"raw": "false",
"range": [
2015-08-06 07:27:09 +02:00
2437,
2442
],
"loc": {
"start": {
"line": 95,
"column": 31
},
"end": {
"line": 95,
"column": 36
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2414,
2442
],
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 36
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
2414,
2443
],
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 37
}
}
}
],
"range": [
2015-08-06 07:27:09 +02:00
2403,
2450
],
"loc": {
"start": {
"line": 94,
"column": 14
},
"end": {
"line": 96,
"column": 5
}
}
},
"generator": false,
"expression": false,
"range": [
2015-08-06 07:27:09 +02:00
2400,
2450
],
"loc": {
"start": {
"line": 94,
"column": 11
},
"end": {
"line": 96,
"column": 5
}
}
},
"kind": "method",
"computed": false,
"range": [
2015-08-06 07:27:09 +02:00
2393,
2450
],
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 96,
"column": 5
}
},
"static": false
}
],
"range": [
2015-08-06 07:27:09 +02:00
55,
2455
],
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 98,
"column": 1
}
}
},
"range": [
2015-08-06 07:27:09 +02:00
36,
2455
],
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 98,
"column": 1
}
},
"leadingComments": [],
"trailingComments": []
},
"specifiers": [],
"source": null,
"range": [
2015-08-06 07:27:09 +02:00
29,
2455
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 98,
"column": 1
}
}
}
],
"sourceType": "module",
"range": [
0,
2015-08-06 07:27:09 +02:00
2455
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 98,
"column": 1
}
},
"comments": [
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Alternating rows color\r\n * @param {Object} tf TableFilter instance\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
64,
155
],
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 8,
"column": 7
}
}
},
{
"type": "Line",
"value": "defines css class for even rows",
"range": [
2015-08-06 07:27:09 +02:00
218,
251
],
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 41
}
}
},
{
"type": "Line",
"value": "defines css class for odd rows",
"range": [
2015-08-06 07:27:09 +02:00
317,
349
],
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 40
}
}
},
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Sets alternating rows color\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
442,
490
],
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
},
{
"type": "Line",
"value": "1st index",
"range": [
2015-08-06 07:27:09 +02:00
724,
735
],
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 19
}
}
},
{
"type": "Line",
"value": " nb indexes",
"range": [
2015-08-06 07:27:09 +02:00
805,
818
],
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 21
}
}
},
{
"type": "Line",
"value": "alternates bg color",
"range": [
2015-08-06 07:27:09 +02:00
985,
1006
],
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 29
}
}
},
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Sets row background color\r\n * @param {Number} rowIdx Row index\r\n * @param {Number} idx Valid rows collection index needed to calculate bg\r\n * color\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
1210,
1393
],
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
},
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Removes row background color\r\n * @param {Number} idx Row index\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
1751,
1839
],
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
},
{
"type": "Block",
2015-08-06 07:27:09 +02:00
"value": "*\r\n * Removes all alternating backgrounds\r\n ",
"range": [
2015-08-06 07:27:09 +02:00
2074,
2130
],
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
}
]
}