@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
461 lines • 11.7 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "FunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "root",
"range": [
10,
14
],
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 14
}
}
},
{
"type": "Identifier",
"name": "factory",
"range": [
16,
23
],
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 23
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "root",
"range": [
31,
35
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"name": "Rx",
"range": [
36,
38
],
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 11
}
}
},
"range": [
31,
38
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 11
}
}
},
"right": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "factory",
"range": [
41,
48
],
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 21
}
}
},
"arguments": [],
"range": [
41,
50
],
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 23
}
}
},
"range": [
31,
50
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 23
}
}
},
"range": [
31,
51
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 24
}
}
}
],
"range": [
25,
53
],
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 3,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
1,
53
],
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 3,
"column": 1
}
}
},
"arguments": [
{
"type": "LogicalExpression",
"operator": "||",
"left": {
"type": "LogicalExpression",
"operator": "||",
"left": {
"type": "Identifier",
"name": "window",
"range": [
55,
61
],
"loc": {
"start": {
"line": 3,
"column": 3
},
"end": {
"line": 3,
"column": 9
}
}
},
"right": {
"type": "Identifier",
"name": "global",
"range": [
65,
71
],
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"column": 19
}
}
},
"range": [
55,
71
],
"loc": {
"start": {
"line": 3,
"column": 3
},
"end": {
"line": 3,
"column": 19
}
}
},
"right": {
"type": "ThisExpression",
"range": [
75,
79
],
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 27
}
}
},
"range": [
55,
79
],
"loc": {
"start": {
"line": 3,
"column": 3
},
"end": {
"line": 3,
"column": 27
}
}
},
{
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require",
"range": [
105,
112
],
"loc": {
"start": {
"line": 4,
"column": 11
},
"end": {
"line": 4,
"column": 18
}
}
},
"arguments": [
{
"type": "Literal",
"value": "../dist/cjs/Rx",
"raw": "'../dist/cjs/Rx'",
"range": [
113,
129
],
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 35
}
}
}
],
"range": [
105,
130
],
"loc": {
"start": {
"line": 4,
"column": 11
},
"end": {
"line": 4,
"column": 36
}
}
},
"range": [
98,
131
],
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 37
}
}
}
],
"range": [
92,
133
],
"loc": {
"start": {
"line": 3,
"column": 40
},
"end": {
"line": 5,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
81,
133
],
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 5,
"column": 1
}
}
}
],
"range": [
1,
134
],
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 5,
"column": 2
}
}
},
"range": [
0,
136
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 4
}
}
}
],
"sourceType": "module",
"range": [
0,
136
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 4
}
},
"comments": []
}