diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui3.0.0/api/yui-init.js.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3.0.0/api/yui-init.js.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,187 @@ + + + + + API: yui yui-init.js (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

yui  3.0.0

+ Yahoo! UI Library + > yui + + > yui-init.js (source view) +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +
+ +
/**
+ * The YUI module contains the components required for building the YUI seed file.
+ * This includes the script loading mechanism, a simple queue, and the core utilities for the library.
+ * @module yui
+ * @submodule yui-base
+ */
+
+(function() {
+
+    var min = ['yui-base'], core, C = Y.config, mods = YUI.Env.mods,
+        extras, i;
+
+    // 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 = [];
+        extras = ['get', 'loader', 'yui-log', 'yui-later'];
+
+        for (i=0; i<extras.length; i++) {
+            if (mods[extras[i]]) {
+                core.push(extras[i]);
+            }
+        }
+    }
+
+    Y.use.apply(Y, core);
+     
+})();
+
+ +
+
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +