소스 검색

Apply addToSequence to blocks.

Clear generated code.
It contained 'var;' statements.
Herby Vojčík 6 년 전
부모
커밋
16400f9a06
9개의 변경된 파일0개의 추가작업 그리고 48개의 파일을 삭제
  1. 0 9
      src/Helios-Browser.js
  2. 0 14
      src/Helios-Core.js
  3. 0 4
      src/Helios-Debugger.js
  4. 0 6
      src/Helios-Helpers.js
  5. 0 3
      src/Helios-KeyBindings.js
  6. 0 2
      src/Helios-Layout.js
  7. 0 6
      src/Helios-References.js
  8. 0 3
      src/Helios-SUnit.js
  9. 0 1
      src/Helios-Workspace.js

+ 0 - 9
src/Helios-Browser.js

@@ -40,7 +40,6 @@ var $1,$receiver;
 $1=$self["@classesListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@classesListWidget"]=$recv($globals.HLClassesListWidget)._on_($self._model());
-$self["@classesListWidget"];
 return $recv($self["@classesListWidget"])._next_($self._protocolsListWidget());
 } else {
 return $1;
@@ -117,7 +116,6 @@ var $1,$receiver;
 $1=$self["@methodsListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@methodsListWidget"]=$recv($globals.HLMethodsListWidget)._on_($self._model());
-$self["@methodsListWidget"];
 return $recv($self["@methodsListWidget"])._next_($self._sourceWidget());
 } else {
 return $1;
@@ -388,7 +386,6 @@ var $1,$receiver;
 $1=$self["@packagesListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@packagesListWidget"]=$recv($globals.HLPackagesListWidget)._on_($self._model());
-$self["@packagesListWidget"];
 return $recv($self["@packagesListWidget"])._next_($self._classesListWidget());
 } else {
 return $1;
@@ -419,7 +416,6 @@ var $1,$receiver;
 $1=$self["@protocolsListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@protocolsListWidget"]=$recv($globals.HLProtocolsListWidget)._on_($self._model());
-$self["@protocolsListWidget"];
 return $recv($self["@protocolsListWidget"])._next_($self._methodsListWidget());
 } else {
 return $1;
@@ -1302,7 +1298,6 @@ $self._withChangesDo_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 $self["@showComment"]=aBoolean;
-$self["@showComment"];
 "helios.browser.showComment"._settingValue_(aBoolean);
 return $recv($self._announcer())._announce_($recv($globals.HLShowCommentToggled)._new());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -1367,7 +1362,6 @@ $self._withChangesDo_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 $self["@showInstance"]=aBoolean;
-$self["@showInstance"];
 $1=$self._selectedClass();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["selectedClass"]=1;
@@ -2583,7 +2577,6 @@ $ctx3.sendIdx["showInstance:"]=1;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
-$6;
 $7=$recv(html)._button();
 $recv($7)._class_($recv($globals.String)._streamContents_((function(str){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -2645,7 +2638,6 @@ return $self._toggleShowComment();
 }, function($ctx3) {$ctx3.fillBlock({},$ctx2,9)});
 //>>excludeEnd("ctx");
 }));
-checkbox;
 return $recv(html)._with_("Doc");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,8)});
@@ -3618,7 +3610,6 @@ return $self._editDocumentation();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx1.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$3;
 $6=$recv(html)._div();
 $recv($6)._class_("markdown");
 $5=$recv($6)._asJQuery();

+ 0 - 14
src/Helios-Core.js

@@ -637,7 +637,6 @@ $self._withCompileErrorHandling_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 method=$recv($self._environment())._compileMethod_for_protocol_(aString,$self._selectedClass(),$self._compilationProtocol());
-method;
 return $self._selectedMethod_(method);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
@@ -1084,7 +1083,6 @@ $self._withChangesDo_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 class_=$recv($self._environment())._classNamed_(aString);
-class_;
 $self._selectedPackage_($recv(class_)._package());
 return $self._selectedClass_(class_);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -1540,7 +1538,6 @@ $self["@selectedClass"];
 }
 }
 $self["@selectedProtocol"]=nil;
-$self["@selectedProtocol"];
 $self._selectedProtocol_($self._allProtocol());
 return $recv($self._announcer())._announce_($recv($globals.HLClassSelected)._on_($self._selectedClass()));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -1619,7 +1616,6 @@ $self["@selectedSelector"]=nil;
 $self["@selectedSelector"];
 } else {
 $self["@selectedSelector"]=$recv(aCompiledMethod)._selector();
-$self["@selectedSelector"];
 $2=$recv($recv($self["@selectedClass"])._notNil())._and_((function(){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx3) {
@@ -1631,7 +1627,6 @@ return $recv($recv($self["@selectedClass"])._methodDictionary())._includesKey_($
 }));
 if(!$core.assert($2)){
 $self["@selectedClass"]=$recv(aCompiledMethod)._methodClass();
-$self["@selectedClass"];
 $self["@selectedPackage"]=$recv($recv($self["@selectedClass"])._theNonMetaClass())._package();
 $self["@selectedPackage"];
 }
@@ -1692,7 +1687,6 @@ $self._withChangesDo_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 $self["@selectedPackage"]=aPackage;
-$self["@selectedPackage"];
 $self._selectedClass_(nil);
 return $recv($self._announcer())._announce_($recv($globals.HLPackageSelected)._on_(aPackage));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -1750,7 +1744,6 @@ $self._withChangesDo_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 $self["@selectedProtocol"]=aString;
-$self["@selectedProtocol"];
 $self._selectedMethod_(nil);
 return $recv($self._announcer())._announce_($recv($globals.HLProtocolSelected)._on_(aString));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -4573,7 +4566,6 @@ $ctx3.sendIdx["class:"]=3;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$4;
 $5=$recv(html)._ul();
 $recv($5)._class_("dropdown-menu pull-right");
 $6=$recv($5)._with_((function(){
@@ -6840,7 +6832,6 @@ return $self._cancel();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
-$4;
 $5=$recv(html)._button();
 $recv($5)._class_("button default");
 $recv($5)._with_($self._confirmButtonLabel());
@@ -7331,7 +7322,6 @@ var $1;
 $1=$self._isVisible();
 if($core.assert($1)){
 $self["@visible"]=false;
-$self["@visible"];
 (
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx1.supercall = true,
@@ -7444,7 +7434,6 @@ var $1;
 $1=$self._isVisible();
 if(!$core.assert($1)){
 $self["@visible"]=true;
-$self["@visible"];
 (
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx1.supercall = true,
@@ -7699,7 +7688,6 @@ return $self._cancel();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
-$4;
 $5=$recv(html)._button();
 $recv($5)._class_("button default");
 $recv($5)._with_("Select tab");
@@ -8056,7 +8044,6 @@ var $1,$2,$receiver;
 $1=$self["@tabList"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@tabList"]=$recv($globals.HLTabListWidget)._new();
-$self["@tabList"];
 $2=$self["@tabList"];
 $recv($2)._callback_((function(tab){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -9775,7 +9762,6 @@ $ctx3.sendIdx["class:"]=3;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$4;
 $5=$recv(html)._ul();
 $recv($5)._class_("dropdown-menu");
 $6=$recv($5)._with_((function(){

+ 0 - 4
src/Helios-Debugger.js

@@ -118,7 +118,6 @@ return $recv(inspectedContext)._isBlockContext();
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 inspectedContext=$recv(inspectedContext)._outerContext();
-inspectedContext;
 $3=inspectedContext;
 if(($receiver = $3) == null || $receiver.a$nil){
 return $3;
@@ -1902,7 +1901,6 @@ return $self._restart();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
-$4;
 $5=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["button"]=2;
@@ -1927,7 +1925,6 @@ return $self._where();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=2;
 //>>excludeEnd("ctx");
-$6;
 $7=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["button"]=3;
@@ -1952,7 +1949,6 @@ return $self._stepOver();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=3;
 //>>excludeEnd("ctx");
-$8;
 $9=$recv(html)._button();
 $recv($9)._class_("btn btn-default proceed");
 $recv($9)._with_("Proceed");

+ 0 - 6
src/Helios-Helpers.js

@@ -239,7 +239,6 @@ return $recv($1)._isNil();
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 currentClass=$recv(currentClass)._superclass();
-currentClass;
 $3=currentClass;
 $4=$recv($self["@method"])._selector();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -457,7 +456,6 @@ var protocol;
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 protocol=$recv($recv(aMethod)._method())._protocol();
-protocol;
 $2=$recv($self["@method"])._methodClass();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["methodClass"]=1;
@@ -508,7 +506,6 @@ return $core.withContext(function($ctx2) {
 $5=$recv(value).__gt(counter);
 if($core.assert($5)){
 counter=value;
-counter;
 protocolToUse=key;
 return protocolToUse;
 }
@@ -1274,9 +1271,7 @@ var instVars,size;
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 instVars=$recv($recv($recv($self["@output"])._targetClass())._instanceVariableNames())._sorted();
-instVars;
 size=$recv(instVars)._size();
-size;
 $recv(str).__lt_lt("initialize");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["<<"]=1;
@@ -1297,7 +1292,6 @@ $3=$recv($1)._cr();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["cr"]=2;
 //>>excludeEnd("ctx");
-$3;
 $4=$recv(str)._cr();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["cr"]=3;

+ 0 - 3
src/Helios-KeyBindings.js

@@ -1305,7 +1305,6 @@ return $self._evaluate_($7);
 $ctx2.sendIdx["yourself"]=1;
 //>>excludeEnd("ctx");
 $self["@input"]=$recv($4)._onKeyDown_($5);
-$self["@input"];
 $9=$recv($self["@input"])._asJQuery();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["asJQuery"]=2;
@@ -2307,7 +2306,6 @@ $4=$recv($3)._with_($recv($recv(aBinding)._shortcut())._asLowercase());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$4;
 $5=$recv(html)._a();
 $recv($5)._class_("action");
 $recv($5)._with_($recv(aBinding)._displayLabel());
@@ -2846,7 +2844,6 @@ var $1,$2,$3,$receiver;
 $1=$self._isKeyDown();
 if($core.assert($1)){
 $self["@keyDown"]=false;
-$self["@keyDown"];
 $2=$self["@interval"];
 if(($receiver = $2) == null || $receiver.a$nil){
 $2;

+ 0 - 2
src/Helios-Layout.js

@@ -225,7 +225,6 @@ $4=$recv($3)._with_($self._firstWidget());
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
 $self["@firstPane"]=$4;
-$self["@firstPane"];
 $5=$recv(html)._div();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["div"]=3;
@@ -234,7 +233,6 @@ $self["@splitter"]=$recv($5)._class_($self._cssClass());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["class:"]=3;
 //>>excludeEnd("ctx");
-$self["@splitter"];
 $6=$recv(html)._div();
 $recv($6)._class_("pane");
 $self["@secondPane"]=$recv($6)._with_($self._secondWidget());

+ 0 - 6
src/Helios-References.js

@@ -193,7 +193,6 @@ var $1,$receiver;
 $1=$self["@classReferencesListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@classReferencesListWidget"]=$recv($globals.HLClassReferencesListWidget)._on_($self._model());
-$self["@classReferencesListWidget"];
 return $recv($self["@classReferencesListWidget"])._next_($self._regexpListWidget());
 } else {
 return $1;
@@ -224,7 +223,6 @@ var $1,$receiver;
 $1=$self["@implementorsListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@implementorsListWidget"]=$recv($globals.HLImplementorsListWidget)._on_($self._model());
-$self["@implementorsListWidget"];
 return $recv($self["@implementorsListWidget"])._next_($self._classReferencesListWidget());
 } else {
 return $1;
@@ -306,7 +304,6 @@ var $1,$receiver;
 $1=$self["@regexpListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@regexpListWidget"]=$recv($globals.HLRegexpListWidget)._on_($self._model());
-$self["@regexpListWidget"];
 return $recv($self["@regexpListWidget"])._next_($self._sourceCodeWidget());
 } else {
 return $1;
@@ -432,7 +429,6 @@ var $1,$receiver;
 $1=$self["@sendersListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@sendersListWidget"]=$recv($globals.HLSendersListWidget)._on_($self._model());
-$self["@sendersListWidget"];
 return $recv($self["@sendersListWidget"])._next_($self._implementorsListWidget());
 } else {
 return $1;
@@ -1270,7 +1266,6 @@ $self._withChangesDo_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 browser=$recv($globals.HLBrowser)._openAsTab();
-browser;
 return $recv(browser)._openClassNamed_(aString);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
@@ -1315,7 +1310,6 @@ $self._withChangesDo_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 browser=$recv($globals.HLBrowser)._openAsTab();
-browser;
 return $recv(browser)._openMethod_($self._selectedMethod());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});

+ 0 - 3
src/Helios-SUnit.js

@@ -1171,7 +1171,6 @@ var $1,$receiver;
 $1=$self["@classesListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@classesListWidget"]=$recv($globals.HLSUnitClassesListWidget)._on_($self._model());
-$self["@classesListWidget"];
 return $recv($self["@classesListWidget"])._next_($self._failuresWidget());
 } else {
 return $1;
@@ -1232,7 +1231,6 @@ var $1,$receiver;
 $1=$self["@failuresWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@failuresWidget"]=$recv($globals.HLSUnitFailuresListWidget)._on_($self._model());
-$self["@failuresWidget"];
 return $recv($self["@failuresWidget"])._next_($self._errorsWidget());
 } else {
 return $1;
@@ -1293,7 +1291,6 @@ var $1,$receiver;
 $1=$self["@packagesListWidget"];
 if(($receiver = $1) == null || $receiver.a$nil){
 $self["@packagesListWidget"]=$recv($globals.HLSUnitPackagesListWidget)._on_($self._model());
-$self["@packagesListWidget"];
 return $recv($self["@packagesListWidget"])._next_($self._classesListWidget());
 } else {
 return $1;

+ 0 - 1
src/Helios-Workspace.js

@@ -420,7 +420,6 @@ return $core.withContext(function($ctx2) {
 $3=$recv(event)._at_("ctrlKey");
 if($core.assert($3)){
 position=$recv($self._editor())._coordsChar_($globals.HashedCollection._newFromPairs_(["left",$recv(event)._clientX(),"top",$recv(event)._clientY()]));
-position;
 $self._onCtrlClickAt_($recv($recv($recv(position)._line()).__at($recv(position)._ch())).__plus((1)));
 return $recv(event)._preventDefault();
 }