2150 |
mathias |
1 |
if(!dojo._hasResource["dojox.data.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
|
2 |
dojo._hasResource["dojox.data.tests.module"] = true;
|
|
|
3 |
dojo.provide("dojox.data.tests.module");
|
|
|
4 |
|
|
|
5 |
try{
|
|
|
6 |
dojo.require("dojox.data.tests.stores.CsvStore");
|
|
|
7 |
dojo.requireIf(dojo.isBrowser, "dojox.data.tests.stores.HtmlTableStore");
|
|
|
8 |
dojo.requireIf(dojo.isBrowser, "dojox.data.tests.stores.OpmlStore");
|
|
|
9 |
dojo.requireIf(dojo.isBrowser, "dojox.data.tests.stores.XmlStore");
|
|
|
10 |
dojo.requireIf(dojo.isBrowser, "dojox.data.tests.stores.FlickrStore");
|
|
|
11 |
dojo.requireIf(dojo.isBrowser, "dojox.data.tests.stores.FlickrRestStore");
|
|
|
12 |
//Load only if in a browser AND if the location is remote (not file. As it needs a PHP server to work).
|
|
|
13 |
if(dojo.isBrowser){
|
|
|
14 |
if(window.location.protocol !== "file:"){
|
|
|
15 |
dojo.require("dojox.data.tests.stores.QueryReadStore");
|
|
|
16 |
}
|
|
|
17 |
}
|
|
|
18 |
dojo.requireIf(dojo.isBrowser, "dojox.data.tests.dom");
|
|
|
19 |
}catch(e){
|
|
|
20 |
doh.debug(e);
|
|
|
21 |
}
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
}
|