코드 정렬

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6866 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2009-10-15 02:29:20 +00:00
parent 961e73ef1b
commit 423b34861c

View file

@ -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