From 7f3f8f861ba87f6e20eb4cdada1a6e617a2fe7c3 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 28 May 2007 07:22:57 +0000 Subject: [PATCH] add missing variable declaration for thistype, thismode, thisfunc in triggerCallBack() --- chrome/content/vimperator/vimperator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/vimperator/vimperator.js b/chrome/content/vimperator/vimperator.js index 6cb3b144..41960b88 100644 --- a/chrome/content/vimperator/vimperator.js +++ b/chrome/content/vimperator/vimperator.js @@ -680,7 +680,7 @@ function Vimperator() { for (i in callbacks) { - [thistype, thismode, thisfunc] = callbacks[i]; + var [thistype, thismode, thisfunc] = callbacks[i]; if (vimperator.hasMode(thismode) && type == thistype) return thisfunc.call(this, data); }