Cross Reference: yui-init.js
xref
: /
yui3
/
src
/
yui
/
js
/
yui-init.js
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
yui-init.js revision 6cc95b1f3254f50cb374ae3078a8b74d1a303ac6
(
function
() {
var
min
= [
'yui-base'
],
core
, C = Y.
config
,
LOADER
=
'loader'
;
// apply the minimal required functionality
Y.
use
.
apply
(Y,
min
);
Y.
log
(Y.
id
+
' initialized'
,
'info'
,
'yui'
);
if
(C.
core
) {
core
= C.
core
;
}
else
{
core
= [
'queue-base'
,
'get'
];
if
(
YUI
.
Env
.
mods
[
LOADER
]) {
core
.
push
(
LOADER
);
}
}
Y.
use
.
apply
(Y,
core
);
})();