This repository was archived by the owner on Apr 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathrx.dom.html
More file actions
108 lines (98 loc) · 3.26 KB
/
rx.dom.html
File metadata and controls
108 lines (98 loc) · 3.26 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<title>Reactive Extensions for JavaScript Tests for DOM</title>
<link rel="stylesheet" href="vendor/qunit-1.9.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.9.0.js"></script>
<script src="vendor/sinon-1.17.3.js"></script>
<script src="../node_modules/rx/dist/rx.lite.js"></script>
<script src="../node_modules/rx/dist/rx.virtualtime.js"></script>
<script src="../node_modules/rx/dist/rx.testing.js"></script>
<script src="../dist/rx.dom.js"></script>
<script src="helpers/reactiveassert.js"></script>
<!-- Individual Tests -->
<script src="events/tests.events.js"></script>
<script src="ajax/tests.ajax.js"></script>
<script src="ajax/tests.jsonp.js"></script>
<script src="dom/tests.websocket.js"></script>
<script src="dom/tests.filereader.js"></script>
<script src="dom/tests.eventsource.js"></script>
<script src="dom/tests.geolocation.js"></script>
<script src="dom/tests.worker.js"></script>
<script src="dom/tests.mutationobserver.js"></script>
<script src="concurrency/tests.microtaskscheduler.js"></script>
<script src="concurrency/tests.requestanimationframescheduler.js"></script>
</body>
</html>