aboutsummaryrefslogtreecommitdiffstats
path: root/platform/firefox/vapi-client.js
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-06-17 13:49:43 -0400
committergorhill <rhill@raymondhill.net>2015-06-17 14:06:59 -0400
commit34485a04658ae7d8357dabe5e42b18e3e066a4b9 (patch)
treef54dd3ef03a63194886edfe52407221774205f77 /platform/firefox/vapi-client.js
parent9406e40fdc1644040234b3e0b240e24fa576a214 (diff)
downloaduBlock-34485a04658ae7d8357dabe5e42b18e3e066a4b9.zip
uBlock-34485a04658ae7d8357dabe5e42b18e3e066a4b9.tar.gz
uBlock-34485a04658ae7d8357dabe5e42b18e3e066a4b9.tar.bz2
code review
Diffstat (limited to 'platform/firefox/vapi-client.js')
-rw-r--r--platform/firefox/vapi-client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/firefox/vapi-client.js b/platform/firefox/vapi-client.js
index 8ca8b88..88b11da 100644
--- a/platform/firefox/vapi-client.js
+++ b/platform/firefox/vapi-client.js
@@ -38,8 +38,8 @@ vAPI.sessionId = String.fromCharCode(Date.now() % 26 + 97) +
/******************************************************************************/
-vAPI.setTimeout = vAPI.setTimeout || function(callback, delay, args) {
- return setTimeout(function(args) { callback(args); }, delay, args);
+vAPI.setTimeout = vAPI.setTimeout || function(callback, delay, extra) {
+ return setTimeout(function(a) { callback(a); }, delay, extra);
};
/******************************************************************************/