Author: gotcha
Date: Sun Oct 26 12:31:45 2008
New Revision: 59417
Modified:
kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/registries.js
Log:
rename function
Modified:
kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/registries.js
==============================================================================
--- kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/registries.js
(original)
+++ kukit/kukit.js/branch/ree-service-layer-and-refactoring/kukit/registries.js
Sun Oct 26 12:31:45 2008
@@ -501,7 +501,7 @@
this.cleanRoomSetUp = function(suite) {
this._saved_pluginregistry = kukit.pluginregistry;
this._saved_service = kukit.service;
- this.initializeGlobalRegistries();
+ this.setupGlobalRegistries();
};
this.cleanRoomFinalize = function(suite) {
@@ -525,7 +525,7 @@
*/
// Initialize global registries
-this.initializeGlobalRegistries = function() {
+this.setupGlobalRegistries = function() {
// instantiate registries
kukit.pluginregistry = new this.NamedRegistries();
kukit.service = new this.NamedRegistries();
@@ -549,9 +549,11 @@
schema.core.bindItems({});
};
-// At this point we initialize the registries used by kukit, that means
-// any code can use them from top level, without initialization.
-this.initializeGlobalRegistries();
+// At this point we setup the registries used by kukit,
+// that implies that any code can access them in the kukit namespace
+// kukit.pluginregistry
+// kukit.service
+this.setupGlobalRegistries();
// The finalization of these registries is done from bootstrap.
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins