Skip to content

Instantly share code, notes, and snippets.

@caridy
Created June 16, 2009 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caridy/130886 to your computer and use it in GitHub Desktop.
Save caridy/130886 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head><title>Test Page</title></head>
<body class="yui-skin-sam">
<!-- Bootstrap Script //-->
<script type="text/javascript" src="../../../../yui3/build/yui/yui-debug.js"></script>
<!-- Initialization process //-->
<script type="text/javascript">
YUI_config = {
base:'../../../../yui3/build/',
filter: 'debug'
};
</script>
<script type="text/javascript">
YUI(YUI_config).use('dd', function (Y) {
alert ('First block is ready');
});
</script>
<script type="text/javascript">
YUI(YUI_config).use('node', function (Y) {
alert ('Second block is ready...');
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment