|
@@ -1910,6 +1910,7 @@ return _st(active).__eq(false);
|
|
if(smalltalk.assert($1)){
|
|
if(smalltalk.assert($1)){
|
|
active=true;
|
|
active=true;
|
|
active;
|
|
active;
|
|
|
|
+_st(e)._preventDefault();
|
|
_st(self)._activatePreviousListItem();
|
|
_st(self)._activatePreviousListItem();
|
|
delay=_st((function(){
|
|
delay=_st((function(){
|
|
return smalltalk.withContext(function($ctx3) {
|
|
return smalltalk.withContext(function($ctx3) {
|
|
@@ -1938,6 +1939,7 @@ return _st(delay)._clearTimeout();
|
|
return interval;
|
|
return interval;
|
|
}, function($ctx3) {$ctx3.fillBlock({},$ctx2)})}))._valueWithTimeout_((300));
|
|
}, function($ctx3) {$ctx3.fillBlock({},$ctx2)})}))._valueWithTimeout_((300));
|
|
delay;
|
|
delay;
|
|
|
|
+false;
|
|
};
|
|
};
|
|
$5=_st(_st(_st(e)._which()).__eq((40)))._and_((function(){
|
|
$5=_st(_st(_st(e)._which()).__eq((40)))._and_((function(){
|
|
return smalltalk.withContext(function($ctx3) {
|
|
return smalltalk.withContext(function($ctx3) {
|
|
@@ -1946,6 +1948,7 @@ return _st(active).__eq(false);
|
|
if(smalltalk.assert($5)){
|
|
if(smalltalk.assert($5)){
|
|
active=true;
|
|
active=true;
|
|
active;
|
|
active;
|
|
|
|
+_st(e)._preventDefault();
|
|
_st(self)._activateNextListItem();
|
|
_st(self)._activateNextListItem();
|
|
delay=_st((function(){
|
|
delay=_st((function(){
|
|
return smalltalk.withContext(function($ctx3) {
|
|
return smalltalk.withContext(function($ctx3) {
|
|
@@ -1973,8 +1976,9 @@ return _st(delay)._clearTimeout();
|
|
}, function($ctx4) {$ctx4.fillBlock({},$ctx3)})}))._valueWithInterval_(repeatInterval);
|
|
}, function($ctx4) {$ctx4.fillBlock({},$ctx3)})}))._valueWithInterval_(repeatInterval);
|
|
return interval;
|
|
return interval;
|
|
}, function($ctx3) {$ctx3.fillBlock({},$ctx2)})}))._valueWithTimeout_((300));
|
|
}, function($ctx3) {$ctx3.fillBlock({},$ctx2)})}))._valueWithTimeout_((300));
|
|
-return delay;
|
|
|
|
|
|
+delay;
|
|
};
|
|
};
|
|
|
|
+return false;
|
|
}, function($ctx2) {$ctx2.fillBlock({e:e},$ctx1)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({e:e},$ctx1)})}));
|
|
_st(_st(_st(self)._wrapper())._asJQuery())._keyup_((function(e){
|
|
_st(_st(_st(self)._wrapper())._asJQuery())._keyup_((function(e){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
@@ -1997,7 +2001,7 @@ return _st(delay)._clearTimeout();
|
|
};
|
|
};
|
|
}, function($ctx2) {$ctx2.fillBlock({e:e},$ctx1)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({e:e},$ctx1)})}));
|
|
return self}, function($ctx1) {$ctx1.fill(self,"setupKeyBindings",{active:active,interval:interval,delay:delay,repeatInterval:repeatInterval},smalltalk.HLListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"setupKeyBindings",{active:active,interval:interval,delay:delay,repeatInterval:repeatInterval},smalltalk.HLListWidget)})},
|
|
-messageSends: ["unbind:", "asJQuery", "wrapper", "keydown:", "ifTrue:", "activatePreviousListItem", "valueWithTimeout:", "valueWithInterval:", "ifTrue:ifFalse:", "ifNotNil:", "clearInterval", "clearTimeout", "hasClass:", "focusClass", "and:", "=", "which", "activateNextListItem", "keyup:"]}),
|
|
|
|
|
|
+messageSends: ["unbind:", "asJQuery", "wrapper", "keydown:", "ifTrue:", "preventDefault", "activatePreviousListItem", "valueWithTimeout:", "valueWithInterval:", "ifTrue:ifFalse:", "ifNotNil:", "clearInterval", "clearTimeout", "hasClass:", "focusClass", "and:", "=", "which", "activateNextListItem", "keyup:"]}),
|
|
smalltalk.HLListWidget);
|
|
smalltalk.HLListWidget);
|
|
|
|
|
|
|
|
|