12345678910111213141516171819202122232425262728293031323334353637 |
- <script src="../yui-3.5.1/build/yui/yui-min.js"></script>
- <script type="text/javascript">
- /* Loads the next file from the global jsFilesToLoad array (destroying it
- * in the process).
- */
- function loadNextJsFile() {
- if( jsFilesToLoad.length > 0 ) {
- var dynamicJsScript = document.createElement("script");
- dynamicJsScript.type = "text/javascript";
- dynamicJsScript.src = jsFilesToLoad.shift();
- globalYui.log('Loading ' + dynamicJsScript.src);
- dynamicJsScript.onload = loadNextJsFile;
- document.getElementsByTagName("head")[0].appendChild(dynamicJsScript);
- }
- }
- var globalYuiLoaderOptions = {
- combine: true,
- comboBase: '../yuiCombinator.php?',
- root: 'yui-3.5.1/build/'
- };
- var globalYui = YUI( globalYuiLoaderOptions ).use(
- "node", "io", "dump", "json", "panel", "event", "arraysort",
- "array-extras", "datasource", "datasource-io", "datasource-jsonschema",
- "datasource-polling", "stylesheet", "dd-drop", "dd-constrain",
- "dd-proxy", "transition", function (Y) {
- /* Kick off the sequential loading. */
- loadNextJsFile();
- });
- </script>
|