mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:37:58 +01:00
add missing variable declaration for thistype, thismode, thisfunc in
triggerCallBack()
This commit is contained in:
@@ -680,7 +680,7 @@ function Vimperator()
|
|||||||
{
|
{
|
||||||
for (i in callbacks)
|
for (i in callbacks)
|
||||||
{
|
{
|
||||||
[thistype, thismode, thisfunc] = callbacks[i];
|
var [thistype, thismode, thisfunc] = callbacks[i];
|
||||||
if (vimperator.hasMode(thismode) && type == thistype)
|
if (vimperator.hasMode(thismode) && type == thistype)
|
||||||
return thisfunc.call(this, data);
|
return thisfunc.call(this, data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user