Explorar o código

Apply addToSequence to blocks.

Clear generated code.
It contained 'var;' statements.
Herby Vojčík %!s(int64=6) %!d(string=hai) anos
pai
achega
bf30e4a8eb
Modificáronse 2 ficheiros con 0 adicións e 70 borrados
  1. 0 8
      src/Benchfib.js
  2. 0 62
      src/IDE.js

+ 0 - 8
src/Benchfib.js

@@ -91,9 +91,7 @@ size=(8190);
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 count=(0);
-count;
 flags=$recv($globals.Array)._new();
-flags;
 $recv(size)._timesRepeat_((function(){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx3) {
@@ -113,12 +111,10 @@ prime=$recv(i).__plus((1));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["+"]=1;
 //>>excludeEnd("ctx");
-prime;
 k=$recv(i).__plus(prime);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["+"]=2;
 //>>excludeEnd("ctx");
-k;
 $recv((function(){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx4) {
@@ -269,7 +265,6 @@ return $recv(n1)._jsbenchmark();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["millisecondsToRun:"]=1;
 //>>excludeEnd("ctx");
-t1;
 return $recv(t1).__lt((1000));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["<"]=1;
@@ -308,7 +303,6 @@ return r;
 }, function($ctx3) {$ctx3.fillBlock({},$ctx2,5)});
 //>>excludeEnd("ctx");
 }));
-t2;
 return $recv(t2).__lt((1000));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,4)});
@@ -390,7 +384,6 @@ return $recv(n1)._benchmark();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["millisecondsToRun:"]=1;
 //>>excludeEnd("ctx");
-t1;
 return $recv(t1).__lt((1000));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["<"]=1;
@@ -429,7 +422,6 @@ return r;
 }, function($ctx3) {$ctx3.fillBlock({},$ctx2,5)});
 //>>excludeEnd("ctx");
 }));
-t2;
 return $recv(t2).__lt((1000));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,4)});

+ 0 - 62
src/IDE.js

@@ -1978,7 +1978,6 @@ return $recv($9)._with_($self._labelFor_(aWidget));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$5;
 return $recv($recv(html)._span())._class_("rtab");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
@@ -2119,7 +2118,6 @@ return $core.withContext(function($ctx2) {
 $2=$recv(html)._input();
 $recv($2)._class_("implementors");
 $self["@input"]=$recv($2)._yourself();
-$self["@input"];
 $recv($self["@input"])._onKeyPress_((function(event){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx3) {
@@ -2715,7 +2713,6 @@ return $self._renderBoxOn_(html);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=1;
 //>>excludeEnd("ctx");
-$2;
 $3=$recv(html)._div();
 $recv($3)._class_("amber_buttons");
 return $recv($3)._with_((function(){
@@ -3968,7 +3965,6 @@ $recv($1)._with_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 $self["@sourceArea"]=$recv($globals.SourceArea)._new();
-$self["@sourceArea"];
 $recv($self["@sourceArea"])._renderOn_(html);
 $recv($self["@sourceArea"])._onKeyDown_((function(e){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -4094,7 +4090,6 @@ return $recv($self["@sourceArea"])._doIt();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=2;
 //>>excludeEnd("ctx");
-$6;
 $7=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["button"]=3;
@@ -4115,7 +4110,6 @@ return $recv($self["@sourceArea"])._printIt();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=3;
 //>>excludeEnd("ctx");
-$8;
 $9=$recv(html)._button();
 $recv($9)._with_("InspectIt");
 return $recv($9)._onClick_((function(){
@@ -4204,7 +4198,6 @@ $self["@packagesList"]=$recv($3)._class_("amber_column browser packages");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["class:"]=2;
 //>>excludeEnd("ctx");
-$self["@packagesList"];
 $4=$recv(html)._div();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["div"]=2;
@@ -4241,7 +4234,6 @@ $7=$recv($6)._with_("Commit");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["with:"]=3;
 //>>excludeEnd("ctx");
-$7;
 $8=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["button"]=2;
@@ -4266,7 +4258,6 @@ $9=$recv($8)._with_("Rename");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["with:"]=4;
 //>>excludeEnd("ctx");
-$9;
 $10=$recv(html)._button();
 $recv($10)._title_("Remove this package from the system");
 $recv($10)._onClick_((function(){
@@ -4286,9 +4277,7 @@ return $recv($10)._with_("Remove");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$5;
 $self["@classesList"]=$recv($globals.ClassesList)._on_(self);
-$self["@classesList"];
 $recv($self["@classesList"])._renderOn_(html);
 $11=$recv(html)._ul();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -4298,12 +4287,10 @@ $self["@protocolsList"]=$recv($11)._class_("amber_column browser protocols");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["class:"]=4;
 //>>excludeEnd("ctx");
-$self["@protocolsList"];
 $self["@methodsList"]=$recv($recv(html)._ul())._class_("amber_column browser methods");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["class:"]=5;
 //>>excludeEnd("ctx");
-$self["@methodsList"];
 $self._updateCategoriesList();
 $self._updateClassesList();
 $self._updateProtocolsList();
@@ -4368,7 +4355,6 @@ $1=$self._cancelChanges();
 if($core.assert($1)){
 var searchedClass;
 searchedClass=$recv($recv($globals.Smalltalk)._globals())._at_(aString);
-searchedClass;
 $2=$recv(searchedClass)._isClass();
 if($core.assert($2)){
 $recv($self._class())._openOn_(searchedClass);
@@ -4451,11 +4437,9 @@ var $1;
 $1=$self._cancelChanges();
 if($core.assert($1)){
 $self["@selectedPackage"]=aCategory;
-$self["@selectedPackage"];
 $self["@selectedMethod"]=nil;
 $self["@selectedProtocol"]=$self["@selectedMethod"];
 $self["@selectedClass"]=$self["@selectedProtocol"];
-$self["@selectedClass"];
 $self._resetClassesList();
 $self._updateCategoriesList();
 $self._updateClassesList();
@@ -4490,10 +4474,8 @@ var $1;
 $1=$self._cancelChanges();
 if($core.assert($1)){
 $self["@selectedClass"]=aClass;
-$self["@selectedClass"];
 $self["@selectedMethod"]=nil;
 $self["@selectedProtocol"]=$self["@selectedMethod"];
-$self["@selectedProtocol"];
 $self._updateClassesList();
 $self._updateProtocolsList();
 $self._updateMethodsList();
@@ -4526,7 +4508,6 @@ var $1;
 $1=$self._cancelChanges();
 if($core.assert($1)){
 $self["@selectedMethod"]=aMethod;
-$self["@selectedMethod"];
 $self._updateProtocolsList();
 $self._updateMethodsList();
 $self._updateSourceAndButtons();
@@ -4558,9 +4539,7 @@ var $1;
 $1=$self._cancelChanges();
 if($core.assert($1)){
 $self["@selectedProtocol"]=aString;
-$self["@selectedProtocol"];
 $self["@selectedMethod"]=nil;
-$self["@selectedMethod"];
 $self._updateProtocolsList();
 $self._updateMethodsList();
 $self._updateSourceAndButtons();
@@ -4592,7 +4571,6 @@ var $1;
 $1=$self._cancelChanges();
 if($core.assert($1)){
 $self["@selectedTab"]=aString;
-$self["@selectedTab"];
 $self._selectProtocol_(nil);
 $self._updateTabsList();
 }
@@ -4701,7 +4679,6 @@ if($core.assert($3)){
 $recv($self["@selectedMethod"])._protocol_(aString);
 $recv(klass)._compile_protocol_($recv($self["@selectedMethod"])._source(),aString);
 $self["@selectedProtocol"]=aString;
-$self["@selectedProtocol"];
 $self._updateProtocolsList();
 $self._updateMethodsList();
 $self._updateSourceAndButtons();
@@ -4847,9 +4824,7 @@ label=$recv(each)._ifEmpty_((function(){
 return "Unclassified";
 
 }));
-label;
 li=$recv(html)._li();
-li;
 $1=$recv($self["@selectedPackage"]).__eq(each);
 if($core.assert($1)){
 $recv(li)._class_("selected");
@@ -4932,7 +4907,6 @@ var li;
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $1=$recv($self["@selectedMethod"]).__eq(each);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["="]=1;
@@ -5010,7 +4984,6 @@ var li;
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $1=$recv($self["@selectedProtocol"]).__eq(each);
 if($core.assert($1)){
 $recv(li)._class_("selected");
@@ -5085,7 +5058,6 @@ $2=$recv($1)._with_("New class");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=1;
 //>>excludeEnd("ctx");
-$2;
 $3=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["button"]=2;
@@ -5106,7 +5078,6 @@ return $self._renameClass();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=2;
 //>>excludeEnd("ctx");
-$4;
 $5=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["button"]=3;
@@ -5127,7 +5098,6 @@ return $self._copyClass();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=3;
 //>>excludeEnd("ctx");
-$6;
 $7=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["button"]=4;
@@ -5148,7 +5118,6 @@ return $self._removeClass();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=4;
 //>>excludeEnd("ctx");
-$8;
 $9=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["button"]=5;
@@ -5200,7 +5169,6 @@ protocolSelect=$recv(html)._select();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["select"]=1;
 //>>excludeEnd("ctx");
-protocolSelect;
 $12=protocolSelect;
 $recv($12)._onChange_((function(){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -5238,7 +5206,6 @@ $17=$recv($16)._at_put_("disabled","disabled");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["at:put:"]=1;
 //>>excludeEnd("ctx");
-$17;
 $18=$recv(html)._option();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["option"]=2;
@@ -5251,9 +5218,7 @@ $19=$recv($18)._with_("New...");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["with:"]=9;
 //>>excludeEnd("ctx");
-$19;
 currentProtocol=$self["@selectedProtocol"];
-currentProtocol;
 $21=$recv(currentProtocol)._isNil();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["isNil"]=1;
@@ -5287,7 +5252,6 @@ option=$recv($22)._with_(each);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx4.sendIdx["with:"]=10;
 //>>excludeEnd("ctx");
-option;
 $23=$recv(currentProtocol).__eq(each);
 if($core.assert($23)){
 return $recv(option)._at_put_("selected","selected");
@@ -5309,14 +5273,12 @@ $ctx3.sendIdx["do:"]=1;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=7;
 //>>excludeEnd("ctx");
-$15;
 $24=$recv($self["@selectedMethod"])._isNil();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["isNil"]=2;
 //>>excludeEnd("ctx");
 if(!$core.assert($24)){
 referencesSelect=$recv(html)._select();
-referencesSelect;
 $25=referencesSelect;
 $recv($25)._onChange_((function(){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -5354,7 +5316,6 @@ $29=$recv($28)._with_($recv($self["@selectedMethod"])._selector());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["with:"]=13;
 //>>excludeEnd("ctx");
-$29;
 return $recv($recv($recv($self["@selectedMethod"])._messageSends())._sorted())._do_((function(each){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx4) {
@@ -5482,7 +5443,6 @@ li=$recv(html)._li();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["li"]=1;
 //>>excludeEnd("ctx");
-li;
 $1=$recv($self["@selectedTab"]).__eq("instance");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["="]=1;
@@ -5518,7 +5478,6 @@ $5=$recv($4)._with_("Instance");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$5;
 $6=$recv(html)._span();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["span"]=3;
@@ -5549,12 +5508,10 @@ $ctx3.sendIdx["selectTab:"]=1;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
-$7;
 li=$recv(html)._li();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["li"]=2;
 //>>excludeEnd("ctx");
-li;
 $8=$recv($self["@selectedTab"]).__eq("class");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["="]=2;
@@ -5590,7 +5547,6 @@ $12=$recv($11)._with_("Class");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["with:"]=4;
 //>>excludeEnd("ctx");
-$12;
 $13=$recv(html)._span();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["span"]=6;
@@ -5621,9 +5577,7 @@ $ctx3.sendIdx["selectTab:"]=2;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=2;
 //>>excludeEnd("ctx");
-$14;
 li=$recv(html)._li();
-li;
 $15=$recv($self["@selectedTab"]).__eq("comment");
 if($core.assert($15)){
 $recv(li)._class_("selected");
@@ -6018,7 +5972,6 @@ $recv($1)._with_((function(){
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 $self["@sourceArea"]=$recv($globals.SourceArea)._new();
-$self["@sourceArea"];
 return $recv($self["@sourceArea"])._renderOn_(html);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
@@ -6263,7 +6216,6 @@ return $recv(context)._notNil();
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $1=$recv($self["@selectedContext"]).__eq(context);
 if($core.assert($1)){
 $recv(li)._class_("selected");
@@ -6351,7 +6303,6 @@ $5=$recv($4)._with_($6);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$5;
 $8=$recv(html)._ul();
 $recv($8)._class_("amber_column debugger contexts");
 $self["@ul"]=$recv($8)._with_((function(){
@@ -6686,7 +6637,6 @@ $ctx3.sendIdx["selectVariable:named:"]=1;
 $ctx2.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
 li=$2;
-li;
 $3=$recv($self["@selectedVariableName"]).__eq("self");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["="]=1;
@@ -6712,7 +6662,6 @@ return $self._selectVariable_named_(value,key);
 }, function($ctx4) {$ctx4.fillBlock({},$ctx3,5)});
 //>>excludeEnd("ctx");
 }));
-li;
 $5=$recv($self["@selectedVariableName"]).__eq(key);
 if($core.assert($5)){
 return $recv(li)._class_("selected");
@@ -6899,7 +6848,6 @@ return $self._refresh();
 //>>excludeEnd("ctx");
 }));
 $self["@sourceArea"]=$recv($2)._yourself();
-$self["@sourceArea"];
 return $recv($self["@sourceArea"])._renderOn_(html);
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
@@ -7054,7 +7002,6 @@ $self["@variablesList"]=$recv($recv(html)._ul())._class_("amber_column variables
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["class:"]=2;
 //>>excludeEnd("ctx");
-$self["@variablesList"];
 $3=$recv(html)._textarea();
 $recv($3)._class_("amber_column value");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -7062,7 +7009,6 @@ $ctx2.sendIdx["class:"]=3;
 //>>excludeEnd("ctx");
 $recv($3)._at_put_("readonly","readonly");
 $self["@valueTextarea"]=$recv($3)._yourself();
-$self["@valueTextarea"];
 $4=$recv(html)._div();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["div"]=2;
@@ -7099,7 +7045,6 @@ return $self._refresh();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx3.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
-$7;
 $8=$recv(html)._button();
 $recv($8)._class_("amber_button inspector dive");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -7123,7 +7068,6 @@ return $self["@diveButton"];
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["with:"]=2;
 //>>excludeEnd("ctx");
-$5;
 return $recv($recv(html)._div())._class_("amber_clear");
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
@@ -7370,7 +7314,6 @@ var li;
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $1=li;
 $recv($1)._with_(each);
 $recv($1)._onClick_((function(){
@@ -8715,7 +8658,6 @@ var li;
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $7=li;
 $8=$recv($recv($recv($recv(each)._methodClass())._asString()).__comma(" >> ")).__comma($self._selector());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -8800,7 +8742,6 @@ var li;
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $7=li;
 $8=$recv($recv($recv($recv(each)._methodClass())._asString()).__comma(" >> ")).__comma($recv(each)._selector());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -10021,14 +9962,12 @@ return $self._selectAllCategories();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx2.sendIdx["onClick:"]=1;
 //>>excludeEnd("ctx");
-$2;
 return $recv($self._packages())._do_((function(each){
 var li;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $3=$recv($self._selectedCategories())._includes_(each);
 if($core.assert($3)){
 $recv(li)._class_("selected");
@@ -10119,7 +10058,6 @@ var li;
 return $core.withContext(function($ctx3) {
 //>>excludeEnd("ctx");
 li=$recv(html)._li();
-li;
 $3=$recv($self._selectedClasses())._includes_(each);
 if($core.assert($3)){
 $recv(li)._class_("selected");