Skip to content

Instantly share code, notes, and snippets.

@gmoothart
Created March 11, 2010 16:56
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 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