encoded_out("<!-- css -->\n"); encoded_out($l8->css()); encoded_out("<!-- js -->\n"); encoded_out($l8->script()); /* separate css and js output */ ////////////////////////////////////////////////////////////////////////// encoded_out("\n\nTest 9:\n\n"); $l9 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST); $l9->load("calendar"); encoded_out($l9->json()); /* json */ ////////////////////////////////////////////////////////////////////////// encoded_out("\n\nTest 10:\n\n"); $l10 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST); $l10->load("calendar"); encoded_out($l10->embed()); /////////////////////////////////////////// encoded_out("\n\nTest 11:\n\n"); //$yui_config->configDebug(array( //"menu" => true //)); $l11 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST); $l11->base = "../../build/"; $l11->filter = YUI_DEBUG; $l11->load("menu"); encoded_out($l11->tags()); encoded_out($l11->getLoadedModulesAsJSON()); /* embed */ ?>