forked from Reactive-Extensions/RxJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrx.lite.extras.html
More file actions
123 lines (106 loc) · 3.44 KB
/
Copy pathrx.lite.extras.html
File metadata and controls
123 lines (106 loc) · 3.44 KB
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
<!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/rsvp.js"></script>
<script src="./vendor/es6-shim.min.js"></script>
<script src="../dist/rx.lite.compat.js"></script>
<script src="../dist/rx.lite.extras.js"></script>
<script src="../dist/rx.virtualtime.js"></script>
<script src="../dist/rx.time.js"></script>
<script src="../dist/rx.testing.js"></script>
<script src="helpers/reactiveassert.js"></script>
<!-- Individual Tests -->
<!-- Core -->
<script src="core/observer-extras.js"></script>
<!-- Concurrency -->
<script src="observable/observeon.js"></script>
<script src="observable/subscribeon.js"></script>
<!-- Creation -->
<script src="observable/generate.js"></script>
<script src="observable/using.js"></script>
<!-- Multiple -->
<script src="observable/ambproto.js"></script>
<script src="observable/onerrorresumenext.js"></script>
<script src="observable/onerrorresumenextproto.js"></script>
<!-- Single -->
<script src="observable/bufferwithcount.js"></script>
<script src="observable/windowwithcount.js"></script>
<script src="observable/takelastbuffer.js"></script>
<!-- Standard Query Operators -->
<script src="observable/pluck.js"></script>
</body>
</html>