Created
August 17, 2009 18:00
-
-
Save web-zen/169276 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="frameworks/yui_2.7.0b/yui/build/yuiloader/yuiloader-debug.js"></script> | |
<script type="text/javascript" src="js/loader-config.js"></script> | |
<script type="text/javascript"> | |
(function() { | |
var loader = new YAHOO.util.YUILoader(_yuiloader_config.config); | |
var modules = _yuiloader_config.modules; | |
for (i=0; i < modules.length; ++i) { | |
loader.addModule(modules[i]); | |
} | |
loader.require(["base","button", "element", "reset-fonts-grids", "yuiloader-dom-event", "maincss", "editarea", "editarealoader"]); | |
// Load the files using the insert() method. | |
loader.insert({ | |
onSuccess: function() { | |
}, | |
onFailure:function(msg) { | |
YAHOO.log(msg,'error','myPage'); | |
var t = 0; | |
} | |
} | |
); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment