1
0
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:
Doug Kearns
2007-05-28 07:22:57 +00:00
parent 1d33d6cc33
commit 7f3f8f861b

View File

@@ -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);
} }