Sfoglia il codice sorgente

Moved #inspectOn: from Dictionary to HashedCollection

Nicolas Petton 12 anni fa
parent
commit
61dbb8db82
3 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 2 2
      js/IDE.deploy.js
  2. 2 2
      js/IDE.js
  3. 1 1
      st/IDE.st

+ 2 - 2
js/IDE.deploy.js

@@ -3470,12 +3470,12 @@ selector: 'inspectOn:',
 fn: function (anInspector){
 var self=this;
 var variables=nil;
-variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []);
+(variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
 smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
 smalltalk.send(variables, "_at_put_", [unescape("%23keys"), smalltalk.send(self, "_keys", [])]);
 smalltalk.send(self, "_keysAndValuesDo_", [(function(key, value){return smalltalk.send(variables, "_at_put_", [key, value]);})]);
 (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
 return self;}
 }),
-smalltalk.Dictionary);
+smalltalk.HashedCollection);
 

+ 2 - 2
js/IDE.js

@@ -4886,7 +4886,7 @@ category: '*IDE',
 fn: function (anInspector){
 var self=this;
 var variables=nil;
-variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []);
+(variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
 smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
 smalltalk.send(variables, "_at_put_", [unescape("%23keys"), smalltalk.send(self, "_keys", [])]);
 smalltalk.send(self, "_keysAndValuesDo_", [(function(key, value){return smalltalk.send(variables, "_at_put_", [key, value]);})]);
@@ -4897,5 +4897,5 @@ source: unescape('inspectOn%3A%20anInspector%0A%09%7C%20variables%20%7C%0A%09var
 messageSends: ["new", "at:put:", "keys", "keysAndValuesDo:", "setLabel:", "printString", "setVariables:"],
 referencedClasses: ["Dictionary"]
 }),
-smalltalk.Dictionary);
+smalltalk.HashedCollection);
 

+ 1 - 1
st/IDE.st

@@ -2339,7 +2339,7 @@ inspectOn: anInspector
 		setVariables: variables
 ! !
 
-!Dictionary methodsFor: '*IDE'!
+!HashedCollection methodsFor: '*IDE'!
 
 inspectOn: anInspector
 	| variables |