summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorportix <none@none>2012-12-27 02:23:10 +0100
committerportix <none@none>2012-12-27 02:23:10 +0100
commit6964518fd0cdeadff2f64181f5f9c265b6952536 (patch)
tree830ae0c06e9b5dde600ce1f869b791f056fa65df /scripts
parentc5f1bfa90cb1133307d95c8152acc35ee3cbbe3b (diff)
downloaddwb-6964518fd0cdeadff2f64181f5f9c265b6952536.zip
New global property 'global' that refers to the global object; don't change the execution context in signals.emit
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/signals.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/signals.js b/scripts/lib/signals.js
index 952f2dde..dffb429f 100644
--- a/scripts/lib/signals.js
+++ b/scripts/lib/signals.js
@@ -43,7 +43,7 @@
{
if (sigs[i].connected)
{
- ret = sigs[i].callback.apply(this, args) || ret;
+ ret = sigs[i].callback.apply(sigs[i].callback, args) || ret;
i++;
}
else