Created
March 19, 2012 05:51
-
-
Save sorrycc/2097673 to your computer and use it in GitHub Desktop.
fp2012_module structure
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
/** | |
* @fileOverview 本地生活模块. | |
* @author 云谦 <[email protected]> | |
*/ | |
KISSY.add('fp/local/local', function(S, Module, util, DOM) { | |
function Local() { | |
Local.superclass.constructor.apply(this, arguments); | |
this.init(); | |
} | |
S.extend(Local, Module, { | |
el: {}, | |
events: {}, | |
init: function() { | |
alert(1); | |
} | |
}); | |
return Local; | |
}, { | |
requires: [ | |
'fp/module', | |
'fp/util', | |
'dom' | |
] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment