mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
코드 정렬
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6866 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
961e73ef1b
commit
423b34861c
1 changed files with 16 additions and 16 deletions
|
|
@ -4,10 +4,10 @@
|
|||
*/
|
||||
(function($){
|
||||
|
||||
var _app_base, _plugin_base;
|
||||
var _xe_base, _app_base, _plugin_base;
|
||||
var _apps = [];
|
||||
|
||||
var _xe_base = {
|
||||
_xe_base = {
|
||||
/**
|
||||
* @brief return the name of Core module
|
||||
*/
|
||||
|
|
@ -101,20 +101,6 @@ var _xe_base = {
|
|||
}
|
||||
}
|
||||
|
||||
function getTypeBase() {
|
||||
var _base = function() {
|
||||
if ($.isArray(this._plugins)) this._plugins = [];
|
||||
if ($.isArray(this._messages)) this._messages = [];
|
||||
if ($.isArray(this._binded_fn)) this._binded_fn = [];
|
||||
|
||||
if ($.isFunction(this.$init)) {
|
||||
this.$init.apply(this, arguments);
|
||||
}
|
||||
};
|
||||
|
||||
return _base;
|
||||
}
|
||||
|
||||
_app_base = {
|
||||
_plugins : [],
|
||||
_messages : [],
|
||||
|
|
@ -279,6 +265,20 @@ _plugin_base = {
|
|||
*/
|
||||
};
|
||||
|
||||
function getTypeBase() {
|
||||
var _base = function() {
|
||||
if ($.isArray(this._plugins)) this._plugins = [];
|
||||
if ($.isArray(this._messages)) this._messages = [];
|
||||
if ($.isArray(this._binded_fn)) this._binded_fn = [];
|
||||
|
||||
if ($.isFunction(this.$init)) {
|
||||
this.$init.apply(this, arguments);
|
||||
}
|
||||
};
|
||||
|
||||
return _base;
|
||||
}
|
||||
|
||||
window.xe = $.extend(_app_base, _xe_base);
|
||||
|
||||
// domready event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue