forked from Reactive-Extensions/RxJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rx.all.compat.html
292 lines (262 loc) · 11 KB
/
rx.all.compat.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Reactive Extensions for JavaScript Tests</title>
<link rel="stylesheet" href="./vendor/qunit-1.11.0.css">
</head>
<body>
<div id="qunit"></div>
<script>
// Backfill for Phantom.js / JSCore
if (!Function.prototype.bind) {
Function.prototype.bind = function (context) {
var self = this;
return function () {
return self.apply(context, arguments);
};
};
}
// Polyfills
if (!Array.prototype.forEach)
{
Array.prototype.forEach = function(fun /*, thisArg */)
{
"use strict";
if (this === void 0 || this === null)
throw new TypeError();
var t = Object(this);
var len = t.length >>> 0;
if (typeof fun !== "function")
throw new TypeError();
var thisArg = arguments.length >= 2 ? arguments[1] : void 0;
for (var i = 0; i < len; i++)
{
if (i in t)
fun.call(thisArg, t[i], i, t);
}
};
}
if (!Object.keys) {
Object.keys = (function () {
'use strict';
var hasOwnProperty = Object.prototype.hasOwnProperty,
hasDontEnumBug = !({toString: null}).propertyIsEnumerable('toString'),
dontEnums = [
'toString',
'toLocaleString',
'valueOf',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'constructor'
],
dontEnumsLength = dontEnums.length;
return function (obj) {
if (typeof obj !== 'object' && (typeof obj !== 'function' || obj === null)) {
throw new TypeError('Object.keys called on non-object');
}
var result = [], prop, i;
for (prop in obj) {
if (hasOwnProperty.call(obj, prop)) {
result.push(prop);
}
}
if (hasDontEnumBug) {
for (i = 0; i < dontEnumsLength; i++) {
if (hasOwnProperty.call(obj, dontEnums[i])) {
result.push(dontEnums[i]);
}
}
}
return result;
};
}());
}
</script>
<script src="./vendor/qunit-1.11.0.js"></script>
<script src="./vendor/es5-shim.js"></script>
<script src="./vendor/es6-shim.js"></script>
<script src="./vendor/rsvp.js"></script>
<script src="./vendor/transducers-0.4.158-min.js"></script>
<script src="../dist/rx.all.compat.js"></script>
<script src="../dist/rx.testing.js"></script>
<script src="helpers/reactiveassert.js"></script>
<!-- Individual Tests -->
<script src="internal/isequal.js"></script>
<script src="subjects/asyncsubject.js"></script>
<script src="subjects/subject.js"></script>
<script src="concurrency/scheduler.js"></script>
<script src="concurrency/immediatescheduler.js"></script>
<script src="concurrency/currentthreadscheduler.js"></script>
<script src="concurrency/defaultscheduler.js"></script>
<script src="disposables/compositedisposable.js"></script>
<script src="disposables/disposable.js"></script>
<script src="disposables/refcountdisposable.js"></script>
<script src="disposables/serialdisposable.js"></script>
<script src="disposables/singleassignmentdisposable.js"></script>
<script src="core/notification.js"></script>
<script src="core/observable.js"></script>
<script src="core/observer.js"></script>
<!-- Concurrency -->
<script src="observable/observeon.js"></script>
<script src="observable/subscribeon.js"></script>
<!-- Creation -->
<script src="observable/create.js"></script>
<script src="observable/defer.js"></script>
<script src="observable/empty.js"></script>
<script src="observable/from.js"></script>
<script src="observable/fromarray.js"></script>
<script src="observable/generate.js"></script>
<script src="observable/of.js"></script>
<script src="observable/never.js"></script>
<script src="observable/range.js"></script>
<script src="observable/repeat.js"></script>
<script src="observable/return.js"></script>
<script src="observable/throw.js"></script>
<script src="observable/using.js"></script>
<!-- Multiple -->
<script src="observable/amb.js"></script>
<script src="observable/catch.js"></script>
<script src="observable/combinelatest.js"></script>
<script src="observable/concat.js"></script>
<script src="observable/merge.js"></script>
<script src="observable/mergeconcat.js"></script>
<script src="observable/mergeall.js"></script>
<script src="observable/onerrorresumenext.js"></script>
<script src="observable/skipuntil.js"></script>
<script src="observable/switch.js"></script>
<script src="observable/takeuntil.js"></script>
<script src="observable/withlatestfrom.js"></script>
<script src="observable/zip.js"></script>
<!-- Single -->
<script src="observable/asobservable.js"></script>
<script src="observable/bufferwithcount.js"></script>
<script src="observable/distinct.js"></script>
<script src="observable/distinctuntilchanged.js"></script>
<script src="observable/do.js"></script>
<script src="observable/finally.js"></script>
<script src="observable/ignoreelements.js"></script>
<script src="observable/materialize.js"></script>
<script src="observable/retry.js"></script>
<script src="observable/retrywhen.js"></script>
<script src="observable/repeatwhen.js"></script>
<script src="observable/scan.js"></script>
<script src="observable/skiplast.js"></script>
<script src="observable/startwith.js"></script>
<script src="observable/takelast.js"></script>
<script src="observable/takelastbuffer.js"></script>
<script src="observable/windowwithcount.js"></script>
<!-- Standard Query Operators -->
<script src="observable/concatmap.js"></script>
<script src="observable/concatmapobserver.js"></script>
<script src="observable/defaultifempty.js"></script>
<script src="observable/groupby.js"></script>
<script src="observable/groupbyuntil.js"></script>
<script src="observable/pluck.js"></script>
<script src="observable/select.js"></script>
<script src="observable/selectmany.js"></script>
<script src="observable/selectmanyobserver.js"></script>
<script src="observable/skip.js"></script>
<script src="observable/skipwhile.js"></script>
<script src="observable/take.js"></script>
<script src="observable/takewhile.js"></script>
<script src="observable/toarray.js"></script>
<script src="observable/where.js"></script>
<!-- Aggregate operators -->
<script src="observable/reduce.js"></script>
<script src="observable/any.js"></script>
<script src="observable/all.js"></script>
<script src="observable/includes.js"></script>
<script src="observable/count.js"></script>
<script src="observable/indexof.js"></script>
<script src="observable/sum.js"></script>
<script src="observable/min.js"></script>
<script src="observable/minby.js"></script>
<script src="observable/max.js"></script>
<script src="observable/maxby.js"></script>
<script src="observable/average.js"></script>
<script src="observable/sequenceequal.js"></script>
<script src="observable/isempty.js"></script>
<script src="observable/elementat.js"></script>
<script src="observable/first.js"></script>
<script src="observable/last.js"></script>
<script src="observable/single.js"></script>
<script src="observable/findindex.js"></script>
<script src="observable/find.js"></script>
<script src="observable/toset.js"></script>
<script src="observable/tomap.js"></script>
<script src="observable/slice.js"></script>
<script src="observable/lastindexof.js"></script>
<!-- Async compat operators -->
<script src="observable/toasync.js"></script>
<script src="observable/start.js"></script>
<script src="observable/fromcallback.js"></script>
<script src="observable/fromnodecallback.js"></script>
<script src="observable/fromevent.js"></script>
<script src="observable/fromeventpattern.js"></script>
<script src="observable/frompromise.js"></script>
<script src="observable/topromise.js"></script>
<!-- Backpressure operators -->
<script src="observable/pausable.js"></script>
<script src="observable/pausablebuffered.js"></script>
<script src="observable/controlled.js"></script>
<!-- Binding operators -->
<script src="observable/multicast.js"></script>
<script src="observable/publish.js"></script>
<script src="observable/publishlast.js"></script>
<script src="observable/replay.js"></script>
<script src="observable/publishvalue.js"></script>
<script src="subjects/behaviorsubject.js"></script>
<script src="subjects/replaysubject.js"></script>
<script src="observable/connectableobservable.js"></script>
<!-- Coincidence operators -->
<script src="observable/join.js"></script>
<script src="observable/groupjoin.js"></script>
<script src="observable/window.js"></script>
<script src="observable/buffer.js"></script>
<script src="observable/pairwise.js"></script>
<script src="observable/partition.js"></script>
<!-- Experimental operators -->
<script src="observable/forkjoin.js"></script>
<script src="observable/expand.js"></script>
<script src="observable/let.js"></script>
<script src="observable/manyselect.js"></script>
<script src="observable/while.js"></script>
<script src="observable/if.js"></script>
<script src="observable/dowhile.js"></script>
<script src="observable/case.js"></script>
<script src="observable/for.js"></script>
<!-- Join patterns operators -->
<script src="observable/when.js"></script>
<!-- Time based operators -->
<script src="observable/windowwithtimeorcount.js"></script>
<script src="observable/bufferwithtimeorcount.js"></script>
<script src="observable/timer.js"></script>
<script src="observable/interval.js"></script>
<script src="observable/delay.js"></script>
<script src="observable/debounce.js"></script>
<script src="observable/bufferwithtime.js"></script>
<script src="observable/windowwithtime.js"></script>
<script src="observable/timeinterval.js"></script>
<script src="observable/timestamp.js"></script>
<script src="observable/sample.js"></script>
<script src="observable/timeout.js"></script>
<script src="observable/generatewithrelativetime.js"></script>
<script src="observable/generatewithabsolutetime.js"></script>
<script src="observable/takelastbufferwithtime.js"></script>
<script src="observable/takewithtime.js"></script>
<script src="observable/skipwithtime.js"></script>
<script src="observable/takelastwithtime.js"></script>
<script src="observable/skiplastwithtime.js"></script>
<script src="observable/skipuntilwithtime.js"></script>
<script src="observable/takeuntilwithtime.js"></script>
<script src="observable/delaysubscription.js"></script>
<script src="observable/throttle.js"></script>
<!-- Transducers -->
<script src="observable/transduce.js"></script>
<!-- Virtual time tests -->
<script src="concurrency/historicalscheduler.js"></script>
<script src="concurrency/virtualtimescheduler.js"></script>
</body>
</html>