Created
July 8, 2011 21:35
-
-
Save rgrove/1072877 to your computer and use it in GitHub Desktop.
How to load the latest combohandled YUI 3 source from git
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 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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this rgrove! Very useful.