forked from requirejs/requirejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjqueryPriority.html
More file actions
36 lines (36 loc) · 1.21 KB
/
jqueryPriority.html
File metadata and controls
36 lines (36 loc) · 1.21 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
<!DOCTYPE html>
<html>
<head>
<title>jQuery+RequireJS Priority Test Page</title>
<script src="../../require.js"></script>
<script type="text/javascript" src="../doh/runner.js"></script>
<script type="text/javascript" src="../doh/_browserRunner.js"></script>
<script>
require({
baseUrl: "./scripts/",
"paths": {
"jquery": "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min"
},
priority: ['jquery']
},
["app"],
function() {
doh.register(
"jqueryPriority",
[
function jqueryPriority(t){
t.is("alpha", $().alpha());
t.is("beta", $().beta());
}
]
);
doh.run();
}
);
</script>
</head>
<body>
<h1>jQuery+RequireJS Priority Test Page</h1>
<p>Tests loading of jquery plugins with require.</p>
</body>
</html>