Cross Reference: /yui3/sandbox/loader/groups.html
groups.html revision ba03e2f3e14a2839275a81872d4a0958ee165e1d
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
<html>
<head>
<title>Combo groups</title>
<script type="text/javascript" src="/build/yui/yui-debug.js"></script>
<script type="text/javascript" src="/build/dump/dump-debug.js"></script>
</head>
<body>
<script>
/*
YUI({
// comboBase: 'http://l.yimg.com/a/lib/yui/combo?',
combine: true,
filter:"raw",
core: ['get', 'dump', 'intl-base', 'loader', 'yui-log', 'yui-later', 'yui-throttle'],
// maxURLLength: 300,
attributes: {
language: 'javascript1.2'
},
groups: {
yui2: {
combine: true,
base: 'http://yui.yahooapis.com/2.8.0r4/build/',
comboBase: 'http://yui.yahooapis.com/combo?',
root: '2.8.0r4/build/',
modules: { // one or more external modules that can be loaded along side of YUI
yui2_yde: {
path: "yahoo-dom-event/yahoo-dom-event.js"
},
yui2_anim: {
path: "animation/animation.js",
requires: ['yui2_yde']
}
}
}
jsonorg: {
combine: true,
base: 'http://www.json.org/',
comboBase: 'http://www.json.org/',
modules: {
json_org: {
path: "json.js"
},
json2_org: {
path: "json2.js"
}
}
}
}
// }).use('json_org', 'node', function(Y) {
// }).use('yui2_anim', 'json2_org', 'json_org', function(Y) {
}).use('yui2_anim', 'node', 'gallery-yql', function(Y) {
*/
YUI({
combine: true,
core: ['get', 'dump', 'intl-base', 'loader', 'yui-log', 'yui-later', 'yui-throttle'],
groups: {
yui2: {
combine: true,
base: 'http://yui.yahooapis.com/2.8.0r4/build/',
comboBase: 'http://yui.yahooapis.com/combo?',
root: '2.8.0r4/build/',
modules: { // one or more external modules that can be loaded along side of YUI
yui2_yde: {
path: "yahoo-dom-event/yahoo-dom-event.js"
},
yui2_anim: {
path: "animation/animation.js",
requires: ['yui2_yde']
}
}
}
}
}).use('yui2_anim', 'node', 'gallery-yql', 'cssbase', 'event-custom', function(Y) {
// }).use('gallery-yql', function(Y) {
Y.log(YAHOO.util.Anim);
});
</script>
</body>
</html>