forked from requirejs/requirejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjqueryDynamic.html
More file actions
38 lines (36 loc) · 1.12 KB
/
jqueryDynamic.html
File metadata and controls
38 lines (36 loc) · 1.12 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
<!DOCTYPE html>
<html>
<head>
<title>jQuery+RequireJS Sample Page</title>
<script type="text/javascript" src="../doh/runner.js"></script>
<script type="text/javascript" src="../doh/_browserRunner.js"></script>
<script data-main="scripts/dynamicApp.js" src="../../require.js"></script>
<script>
var master = new doh.Deferred(),
masterCount = 0;
function readyFired() {
masterCount += 1;
if (masterCount === 3) {
master.callback(true);
}
}
doh.register(
"jqueryDynamic",
[
{
name: "jqueryDynamic",
timeout: 3000,
runTest: function() {
return master;
}
}
]
);
doh.run();
</script>
</head>
<body>
<h1>jQuery+RequireJS Test Page</h1>
<p>Tests loading of jquery plugins with require.</p>
</body>
</html>