Author: gotcha
Date: Wed Dec 17 18:48:21 2008
New Revision: 60551

Modified:
   kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/commandreg.js
   kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/registries.js
Log:
remove last reference to schema

Modified: 
kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/commandreg.js
==============================================================================
--- kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/commandreg.js     
(original)
+++ kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/commandreg.js     
Wed Dec 17 18:48:21 2008
@@ -62,7 +62,7 @@
 };
 
 this.register = function(name, commandClass) {
-    var actions = kukit.plugins.schema.actions;
+    var actions = kukit.plugins.actions;
     var attrib = actions.getItemFactory(name);
     this._register(name, commandClass, attrib);
 };

Modified: 
kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/registries.js
==============================================================================
--- kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/registries.js     
(original)
+++ kukit/kukit.js/branch/gotcha-simplify-service-layer/kukit/registries.js     
Wed Dec 17 18:48:21 2008
@@ -28,20 +28,17 @@
  * The order in which they are loaded is irrelevant, provided they
  * load after registries.js.
  *
- * Managing the schema
- * -------------------
+ * Managing the registrar
+ * ----------------------
  *
  * When various javascript code is loaded, it can set up the
- * schema for the registry it handles. For example, during the
+ * registrar for the registry it handles. For example, during the
  * loading of javascript, plugin code set up its registry, other code
  * sets up services it provides or depends on.
  *
  * The registries are managed by name in a collection of registries.
- * Before accessing the schema of any registry, it needs to 
+ * Before accessing the registrar of any registry, it needs to 
  * be initialized at one of the names registries object.
- * This may be happen several times, but at
- * least once it has been done before the schema is looked up from
- * code. 
  *
  * This is the only dependency what we have for the order of the code.
  * Ewerywhere else, order is independent. This means that if all
@@ -50,25 +47,9 @@
  * case of the plugins), then the order of these javascripts is
  * arbitrary for registries to work.
  *
- * In the initialization the registry name and the item factory
- * need to be supplied as parameters.
- * 
- *     registries.initializeRegistry('myregistry', MyFactoryClass);
- *
- * After this the registrar object can be looked up with:
- *
- *     var registrar = registries.schema.myregistry;
- *
- * Or the schema of an attribute can be looked up, and various methods
- * can be called on it. This depends on what the attribute class
- * actually implements.
- *
- *     var factory = registries.schema.myregistry.getItemFactory('mykey');
- *     factory.doWhateverTheFactoryImplements(blah);
- *
  * This concludes everything we can do, before binding the registry.
  * Binding freezes the factorization of items in the registrar and
- * allows its direct use, without the schema.  For the binding, a
+ * allows its direct use.  For the binding, a
  * singleton registry object has to be provided. The items are 
  * bound on this registry.
  *
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to