Skip to content

Instantly share code, notes, and snippets.

@ghinch
Created June 4, 2010 00:15
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 ghinch/424713 to your computer and use it in GitHub Desktop.
Save ghinch/424713 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript" src="http://yui.yahooapis.com/combo?3.1.1/build/yui/yui-min.js"></script></head>
<title>Test</title>
<body>
<div>
<h1>Testing loading Scripts</h1>
</div>
<script type="text/javascript">
//<!--
YUI({
combine : true,
filter : 'RAW',
groups : {
mygroup : {
combine : false,
base : '/test/js/my/build/',
root : 'build/',
patterns : {
'my-' : {
configFn : function (o) {
console.log(o);
return o;
}
}
}
}
}
}).use('my-testmod', 'node', 'tabview', 'event', 'cssreset', 'cssbase', 'cssfonts', function (Y) {
console.log('Yui instance');
});
-->
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment