Skip to content

Instantly share code, notes, and snippets.

@rgrove
Created July 8, 2011 21:35
Show Gist options
  • Save rgrove/1072877 to your computer and use it in GitHub Desktop.
Save rgrove/1072877 to your computer and use it in GitHub Desktop.
How to load the latest combohandled YUI 3 source from git
<script src="http://fuji.jetpants.com/yui/combo/yui3?build/yui/yui-min.js"></script>
<script>
var Y = YUI({
comboBase: 'http://fuji.jetpants.com/yui/combo/yui3?',
combine : true,
root : 'build/'
}).use('node', function (Y) {
// YUI will now automatically load modules from the custom fuji.jetpants.com
// combohandler, which pulls the latest YUI 3 code from git master every 15
// minutes.
// Feel free to use this for testing, but don't use it in production! It's not
// a real CDN, and it may go down at any time without warning!
});
</script>
@triptych
Copy link

triptych commented Jul 8, 2011

Thanks for this rgrove! Very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment