2 Commits 111584b8f5 ... c372ee037f

Author SHA1 Message Date
  Herbert Vojčík c372ee037f 0.8.2 7 years ago
  Herbert Vojčík 2b0510ff01 Organizer elements are Sets now. 7 years ago
3 changed files with 6 additions and 6 deletions
  1. 1 1
      package.json
  2. 4 4
      src/Helios-Browser.js
  3. 1 1
      src/Helios-Browser.st

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "helios",
   "name": "helios",
   "title": "Helios IDE for Amber",
   "title": "Helios IDE for Amber",
   "description": "Helios IDE for Amber Smalltalk",
   "description": "Helios IDE for Amber Smalltalk",
-  "version": "0.8.1",
+  "version": "0.8.2",
   "homepage": "https://lolg.it/amber/helios",
   "homepage": "https://lolg.it/amber/helios",
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",

+ 4 - 4
src/Helios-Browser.js

@@ -2962,7 +2962,7 @@ var $2,$1,$receiver;
 if(($receiver = aPackage) == null || $receiver.a$nil){
 if(($receiver = aPackage) == null || $receiver.a$nil){
 $1=[];
 $1=[];
 } else {
 } else {
-$1=$recv($recv($recv(aPackage)._classes())._collect_((function(each){
+$1=$recv($recv($recv($recv(aPackage)._classes())._collect_((function(each){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx2) {
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 //>>excludeEnd("ctx");
@@ -2970,7 +2970,7 @@ return $recv(each)._theNonMetaClass();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,3)});
 }, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,3)});
 //>>excludeEnd("ctx");
 //>>excludeEnd("ctx");
-})))._sort_((function(a,b){
+})))._asArray())._sort_((function(a,b){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx2) {
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 //>>excludeEnd("ctx");
@@ -2992,10 +2992,10 @@ return self;
 },
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: ["aPackage"],
 args: ["aPackage"],
-source: "setItemsForPackage: aPackage\x0a\x09self items: (aPackage \x0a    \x09ifNil: [ #() ]\x0a  \x09\x09ifNotNil: [ (aPackage classes \x0a        \x09collect: [ :each | each theNonMetaClass ]) \x0a            \x09sort: [ :a :b | a name < b name ] ]).",
+source: "setItemsForPackage: aPackage\x0a\x09self items: (aPackage \x0a    \x09ifNil: [ #() ]\x0a  \x09\x09ifNotNil: [ (aPackage classes \x0a        \x09collect: [ :each | each theNonMetaClass ]) asArray \x0a            \x09sort: [ :a :b | a name < b name ] ]).",
 referencedClasses: [],
 referencedClasses: [],
 //>>excludeEnd("ide");
 //>>excludeEnd("ide");
-messageSends: ["items:", "ifNil:ifNotNil:", "sort:", "collect:", "classes", "theNonMetaClass", "<", "name"]
+messageSends: ["items:", "ifNil:ifNotNil:", "sort:", "asArray", "collect:", "classes", "theNonMetaClass", "<", "name"]
 }),
 }),
 $globals.HLClassesListWidget);
 $globals.HLClassesListWidget);
 
 

+ 1 - 1
src/Helios-Browser.st

@@ -566,7 +566,7 @@ setItemsForPackage: aPackage
 	self items: (aPackage 
 	self items: (aPackage 
     	ifNil: [ #() ]
     	ifNil: [ #() ]
   		ifNotNil: [ (aPackage classes 
   		ifNotNil: [ (aPackage classes 
-        	collect: [ :each | each theNonMetaClass ]) 
+        	collect: [ :each | each theNonMetaClass ]) asArray 
             	sort: [ :a :b | a name < b name ] ]).
             	sort: [ :a :b | a name < b name ] ]).
 !
 !