This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathtest.html
90 lines (84 loc) · 3.03 KB
/
test.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
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
(C) Copyright IBM Corp. 2012, 2016 All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html dir="ltr">
<head>
<title>Test</title>
<style type="text/css">
body, html { font-family:helvetica,arial,sans-serif; font-size:90%; }
.claro table.dijitCalendarContainer { margin: 25px auto; }
#formatted { text-align: center; }
</style>
<script type="text/javascript">
(function() {
var href = location.href,
isDebugLoader = /[&?]debugLoader=(1|true)/.test(href),
params = {
scripts: [
"js/loaderConfig", // Our loader config
"combo/loaderExt", // The aggregator loader extension code
"dojo/dojo" // The loader
].join(","),
deps: "js/bootstrap", // required module that will be loaded
// along with all of it's nested dependencies
expandRequire: 1
},
features = {
"dojo-combo-api" : 1,
"dojo-error-api" : isDebugLoader,
"dojo-trace-api" : isDebugLoader,
"host-rhino" : 0,
"host-node" : 0,
"dojo-sniff" : 0,
"dojo-test-sniff" : 0,
"dojo-undef-api" : 1,
"host-browser" : 1,
"config-deferredInstrumentation" : 1
},
i = 0;
// copy selected params from URL
for (var s in {optimize:0,expandRequire:0,showFilenames:0,noCache:0,debugLoader:0,serverExpandLayers:0,depExpLog:0,sourceMaps:0}) {
var regex = new RegExp("[&?]"+s+"=([^&]*)","i");
var result = regex.exec(href) || [];
if (result.length > 1) {
params[s] = result[1];
}
}
// write out the script tag to use the aggregator to load our modules
document.write('<script src="../aggr');
var delim = "?";
for (var s in params) {
document.write(delim + s + "=" + encodeURIComponent(params[s]));
delim = "&";
}
i = 0;
document.write("&has=");
for (var s in features) {
document.write((i++ ? ";" : "") + (features[s] ? "" : "!") + s);
}
document.write('"><'+'/script>');
})();
</script>
<style type="text/css">
.movable { cursor: hand; }
</style>
</head>
<body class="claro">
<div data-dojo-type="dijit.layout.TabContainer" style="width: 100%; height: 400px;">
<div data-dojo-type="dijit.layout.LazyContentPane" title="Calendar" selected="true"></div>
<div data-dojo-type="dijit.layout.LazyContentPane" title="Color Palette"></div>
<div data-dojo-type="dijit.layout.LazyContentPane" title="Editor"></div>
<div data-dojo-type="dijit.layout.LazyContentPane" title="Chart"></div>
</div>
</body>
</html>