mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 00:29:58 +09:00
#18994859 JAF에서 앱, 플러그인이 등록되거나 해제될 때의 이벤트 지원
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7598 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9b40ee37dd
commit
8910bfe203
1 changed files with 6 additions and 3 deletions
|
|
@ -81,7 +81,8 @@ _xe_base = {
|
||||||
|
|
||||||
oApp.parent = this;
|
oApp.parent = this;
|
||||||
|
|
||||||
// TODO : register event
|
// register event
|
||||||
|
if ($.isFunction(oApp.activate)) oApp.activate();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -98,7 +99,8 @@ _xe_base = {
|
||||||
if (nIndex >= 0) _apps[sName].splice(nIndex, 1);
|
if (nIndex >= 0) _apps[sName].splice(nIndex, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO : unregister event
|
// unregister event
|
||||||
|
if ($.isFunction(oApp.deactivate)) oApp.deactivate();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -157,7 +159,8 @@ _app_base = {
|
||||||
// binding
|
// binding
|
||||||
oPlugin.oApp = this;
|
oPlugin.oApp = this;
|
||||||
|
|
||||||
// TODO : registered event
|
// registered event
|
||||||
|
if ($.isFunction(oPlugin.activate)) oPlugin.activate();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue