Created
October 20, 2009 19:50
-
-
Save lsmith/214554 to your computer and use it in GitHub Desktop.
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
| YUI.add('prop.mod-a', function (Y) { | |
| /* Your module code here */ | |
| // shortcut to ensure Y.config.modules object is in place | |
| Y.namespace('config.modules')['yui2-utilities'] = { | |
| fullpath: 'http://yui.yahooapis.com/2.8.0r4/build/utilities/utilities.js' | |
| }; | |
| Y.use('yui2-utilities', function (Y) { | |
| Y.fire('myapp:ready'); | |
| }); | |
| },'0.0.1', { requires: ['event-custom-base'] }); | |
| YUI().use('prop.mod-a', function (Y) { | |
| Y.on('myapp:ready', function () { | |
| /* implementation code */ | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment