forked from facebook/react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (30 loc) · 1.17 KB
/
index.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
<!doctype html>
<meta charset=utf-8>
<body>
<script>
;(function(){
var urls = [
'../vendor/jasmine/jasmine.js',
'../vendor/jasmine/jasmine-support.js',
'../vendor/jasmine/jasmine-html.js',
'../node_modules/jasmine-tapreporter/src/tapreporter.js',
'../vendor/jasmine-jsreporter/jasmine-jsreporter.js',
'lib/postDataToURL.browser.js',
'lib/reportTestResults.browser.js',
'../build/react.js',
'../build/react-test.js',
'the-files-to-test.generated.js',
'lib/jasmine-execute.js'
];
if (typeof Function.prototype.bind == 'undefined') {
urls.unshift('../node_modules/es5-shim/es5-sham.js');
urls.unshift('../node_modules/es5-shim/es5-shim.js');
}
var cacheBust = '?_=' + (+new Date).toString(36);
for (var urls_index = -1, urls_length = urls.length; ++urls_index < urls_length;) {
document.write('<script src="' + urls[urls_index] + cacheBust + '"><\/script>');
}
var base = location.protocol + '//' + location.hostname + ':' + location.port + location.pathname.replace(/^\/?/,'/').split('/').reverse().slice(1).reverse().join('/');
window.ReactWebWorker_URL = base + '/../src/test/worker.js' + cacheBust;
}());
</script>