|
@@ -299,11 +299,6 @@ define(['./junk-drawer'], function ($goodies) {
|
|
|
else if (o.a$cls != null) return o;
|
|
|
else return st.wrapJavaScript(o);
|
|
|
};
|
|
|
-
|
|
|
-
|
|
|
- this.__init__ = function () {
|
|
|
- brikz.classConstruction.iVarNamesCompat(SmalltalkBehavior);
|
|
|
- };
|
|
|
}
|
|
|
|
|
|
ClassConstructionBrik.deps = ["classModel", "behaviorals", "methods"];
|
|
@@ -329,20 +324,6 @@ define(['./junk-drawer'], function ($goodies) {
|
|
|
|
|
|
st.setSlots = setSlots;
|
|
|
|
|
|
-
|
|
|
- this.iVarNamesCompat = function (SmalltalkBehavior) {
|
|
|
- Object.defineProperty(SmalltalkBehavior.prototype, "iVarNames", {
|
|
|
- enumerable: true,
|
|
|
- configurable: true,
|
|
|
- get: function () {
|
|
|
- return this.slots;
|
|
|
- },
|
|
|
- set: function (instanceVariableNames) {
|
|
|
- setSlots(this, instanceVariableNames);
|
|
|
- }
|
|
|
- });
|
|
|
- };
|
|
|
-
|
|
|
|
|
|
created metaclass object. Newly created classes (not their metaclass)
|
|
|
should be added to the system, see smalltalk.addClass().
|