aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-21 12:09:24 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-21 12:09:24 +0200
commita0756d1dbd9e8bbb37293b8b756f6aee1e205d65 (patch)
tree2cab607150cc08cfddbf791f003229583910bae0 /lib
parentec5d89184a9953ef6b44388fa284ed8a7b889bf9 (diff)
downloadbugzilla-triage-a0756d1dbd9e8bbb37293b8b756f6aee1e205d65.tar.gz
Make Eclipse happier
- extended .hgignore - fix some problems in lib/persistent-page-mod.js
Diffstat (limited to 'lib')
-rw-r--r--lib/persistent-page-mod.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/persistent-page-mod.js b/lib/persistent-page-mod.js
index 5c00a8f..ecf9b39 100644
--- a/lib/persistent-page-mod.js
+++ b/lib/persistent-page-mod.js
@@ -1,4 +1,5 @@
var timer = require("timer");
+var self = require("self");
function PersistentPageMod(window, callback) {
memory.track(this);
@@ -32,7 +33,7 @@ PersistentPageMod.prototype = {
// tons of times in a tiny period and end up hanging the browser
// for a while.
var self = this;
- this.timerID = timer.setTimeout(function() self.doMod(),
+ this.timerID = timer.setTimeout(function() {self.doMod();},
this.REPLACE_DELAY);
}
break;