Skip to content

Instantly share code, notes, and snippets.

@gmoothart
Created March 11, 2010 16:56
Show Gist options
  • Save gmoothart/329348 to your computer and use it in GitHub Desktop.
Save gmoothart/329348 to your computer and use it in GitHub Desktop.
YUI().use('event', 'io', function(Y) {
...
Y.on('click', function(ev) {
// lazy-load admin stuffz
Y.OhYeahUseTheseToo('anim', 'admin-module', function() {
// anim and admin-module are now available on the existing Y instance
});
}), '#adminTab');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment