Created
June 4, 2010 00:15
-
-
Save ghinch/424713 to your computer and use it in GitHub Desktop.
This file contains 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
<!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