Skip to content

Instantly share code, notes, and snippets.

@hatched
Created January 12, 2011 20:10
Show Gist options
  • Save hatched/776794 to your computer and use it in GitHub Desktop.
Save hatched/776794 to your computer and use it in GitHub Desktop.
YUI.add('testmodule', function(Y) {
Y.Something = Y.one('#test');
});
YUI().use('*').use('node', 'event', function(Y) {
Y.log(Y.Something);
});
<div id="test"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment