Author: gotcha
Date: Sun Oct 26 12:15:23 2008
New Revision: 59413
Modified:
kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/interfaces.js
Log:
remove unneeded function
Modified:
kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/interfaces.js
==============================================================================
--- kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/interfaces.js
(original)
+++ kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/interfaces.js
Sun Oct 26 12:15:23 2008
@@ -486,19 +486,6 @@
}; /* end BindSequenceFactory */
-
-
-/*
- * Instantiation
- */
-
-this._createGlobalRegistries = function() {
- // create registries
- kukit.pluginregistry = new this.NamedRegistries();
- kukit.service = new this.NamedRegistries();
-};
-
-
/*
* Global handling of registries in kukit
*
@@ -514,9 +501,6 @@
this.cleanRoomSetUp = function(suite) {
this._saved_pluginregistry = kukit.pluginregistry;
this._saved_service = kukit.service;
- // now create registries
- this._createGlobalRegistries();
- // and initialize them
this.initializeGlobalRegistries();
};
@@ -542,6 +526,9 @@
// Initialize global registries
this.initializeGlobalRegistries = function() {
+ // instantiate registries
+ kukit.pluginregistry = new this.NamedRegistries();
+ kukit.service = new this.NamedRegistries();
var r = kukit.pluginregistry;
r.initializeRegistry('events', this.PluginFactory);
r.initializeRegistry('bindsequences', this.BindSequenceFactory);
@@ -562,12 +549,10 @@
schema.core.bindItems({});
};
-// Now, create the global registries
-this._createGlobalRegistries();
// At this point we initialize the registries used by kukit, that means
// any code can use them from top level, without initialization.
this.initializeGlobalRegistries();
-// The finalization of these registries will be done from bootstrap.
+// The finalization of these registries is done from bootstrap.
/*
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins