Permalink
Browse files

Minor cleanup

  • Loading branch information...
wpbasti
wpbasti committed Sep 20, 2006
1 parent 7123df0 commit babbdefd4b7c9f7925ac2befb6c3e5e3076a5870
Showing with 5 additions and 30 deletions.
  1. +5 −30 qooxdoo/frontend/framework/source/class/qx/core/Init.js
@@ -122,48 +122,23 @@ qx.Proto.getApplicationInstance = function()
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
*/ */
qx.Proto.defineInitialize = function(vFunc) qx.Proto.defineInitialize = function(vFunc) {
{
if (!this.getApplication()) {
this.setApplication(qx.component.DummyApplication);
}
this.getApplicationInstance().initialize = vFunc; this.getApplicationInstance().initialize = vFunc;
} }
qx.Proto.defineMain = function(vFunc) qx.Proto.defineMain = function(vFunc) {
{
if (!this.getApplication()) {
this.setApplication(qx.component.DummyApplication);
}
this.getApplicationInstance().main = vFunc; this.getApplicationInstance().main = vFunc;
} }
qx.Proto.defineFinalize = function(vFunc) qx.Proto.defineFinalize = function(vFunc) {
{
if (!this.getApplication()) {
this.setApplication(qx.component.DummyApplication);
}
this.getApplicationInstance().finalize = vFunc; this.getApplicationInstance().finalize = vFunc;
} }
qx.Proto.defineClose = function(vFunc) qx.Proto.defineClose = function(vFunc) {
{
if (!this.getApplication()) {
this.setApplication(qx.component.DummyApplication);
}
this.getApplicationInstance().close = vFunc; this.getApplicationInstance().close = vFunc;
} }
qx.Proto.defineTerminate = function(vFunc) qx.Proto.defineTerminate = function(vFunc) {
{
if (!this.getApplication()) {
this.setApplication(qx.component.DummyApplication);
}
this.getApplicationInstance().terminate = vFunc; this.getApplicationInstance().terminate = vFunc;
} }

0 comments on commit babbdef

Please sign in to comment.