Browse Source

Remove inheritance on InterfacingObject.

Herbert Vojčík 8 years ago
parent
commit
d2e20196a2
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/Helios-Core.js
  2. 1 1
      src/Helios-Core.st

+ 2 - 2
src/Helios-Core.js

@@ -1,10 +1,10 @@
-define("helios/Helios-Core", ["amber/boot", "amber_core/Platform-Services", "amber_core/Kernel-Objects", "amber/web/Web"], function($boot){"use strict";
+define("helios/Helios-Core", ["amber/boot", "amber_core/Kernel-Objects", "amber/web/Web"], function($boot){"use strict";
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
 $core.addPackage('Helios-Core');
 $core.packages["Helios-Core"].innerEval = function (expr) { return eval(expr); };
 $core.packages["Helios-Core"].transport = {"type":"amd","amdNamespace":"helios"};
 
-$core.addClass('HLModel', $globals.InterfacingObject, ['announcer', 'environment'], 'Helios-Core');
+$core.addClass('HLModel', $globals.Object, ['announcer', 'environment'], 'Helios-Core');
 //>>excludeStart("ide", pragmas.excludeIdeData);
 $globals.HLModel.comment="I am the abstract superclass of all models of Helios.\x0aI am the \x22Model\x22 part of the MVC pattern implementation in Helios.\x0a\x0aI provide access to an `Environment` object and both a local (model-specific) and global (system-specific) announcer.\x0a\x0aThe `#withChangesDo:` method is handy for performing model changes ensuring that all widgets are aware of the change and can prevent it from happening.\x0a\x0aModifications of the system should be done via commands (see `HLCommand` and subclasses).";
 //>>excludeEnd("ide");

+ 1 - 1
src/Helios-Core.st

@@ -1,5 +1,5 @@
 Smalltalk createPackage: 'Helios-Core'!
-InterfacingObject subclass: #HLModel
+Object subclass: #HLModel
 	instanceVariableNames: 'announcer environment'
 	package: 'Helios-Core'!
 !HLModel commentStamp!