/
all.js
66 lines (50 loc) · 2.46 KB
/
all.js
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
//PS3 does not have a usable Function.prototype.toString,
//so avoid those tests.
var hasToString = (function () {
var test = 'hello world';
}).toString().indexOf('hello world') !== -1;
doh.registerUrl("simple", "../simple.html");
//PS3 does not like this test
doh.registerUrl("baseUrl", "../baseUrl.html");
doh.registerUrl("config", "../config.html");
doh.registerUrl("dataMain", "../dataMain.html");
if (hasToString) {
doh.registerUrl("anonSimple", "../anon/anonSimple.html");
doh.registerUrl("packages", "../packages/packages.html");
}
doh.registerUrl("simple-nohead", "../simple-nohead.html");
//Only do the base test if the urls work out.
if (location.href.indexOf('http://127.0.0.1/requirejs/') === 0) {
doh.registerUrl("simple-badbase", "../simple-badbase.html");
}
doh.registerUrl("circular", "../circular.html");
doh.registerUrl("depoverlap", "../depoverlap.html");
doh.registerUrl("urlfetch", "../urlfetch/urlfetch.html");
doh.registerUrl("multiversion", "../multiversion.html", 10000);
doh.registerUrl("jquery", "../jquery/jquery.html");
//Next three tests fail in PS3
doh.registerUrl("jqueryDynamic", "../jquery/jqueryDynamic.html");
doh.registerUrl("jqueryDynamic2", "../jquery/jqueryDynamic2.html");
doh.registerUrl("i18nlocaleunknown", "../i18n/i18n.html?bundle=i18n!nls/fr-fr/colors");
doh.registerUrl("i18n", "../i18n/i18n.html");
//Fail in PS3
doh.registerUrl("i18nlocale", "../i18n/i18n.html?locale=en-us-surfer");
//Fail in PS3
doh.registerUrl("i18nbundle", "../i18n/i18n.html?bundle=i18n!nls/en-us-surfer/colors");
doh.registerUrl("modifiers", "../modifier/modifier.html", 10000);
doh.registerUrl("pause/resume", "../pauseresume/pauseresume.html", 10000);
doh.registerUrl("afterload", "../afterload.html", 10000);
doh.registerUrl("text", "../text/text.html");
doh.registerUrl("textOnly", "../text/textOnly.html");
doh.registerUrl("jsonp", "../jsonp/jsonp.html");
doh.registerUrl("order", "../order/order.html");
doh.registerUrl("relative", "../relative/relative.html");
//Hmm, PS3 does not like exports test? assign2 is undefined?
doh.registerUrl("exports", "../exports/exports.html");
doh.registerUrl("transportD", "../transportD/transportD.html");
doh.registerUrl("priority", "../priority/priority.html");
doh.registerUrl("priorityWithDeps", "../priority/priorityWithDeps/priorityWithDeps.html");
doh.registerUrl("prioritySingleCall", "../priority/prioritySingleCall.html");
if (typeof Worker !== "undefined") {
doh.registerUrl("workers", "../workers.html");
}