diff options
author | portix <none@none> | 2012-12-27 02:23:10 +0100 |
---|---|---|
committer | portix <none@none> | 2012-12-27 02:23:10 +0100 |
commit | 6964518fd0cdeadff2f64181f5f9c265b6952536 (patch) | |
tree | 830ae0c06e9b5dde600ce1f869b791f056fa65df /scripts | |
parent | c5f1bfa90cb1133307d95c8152acc35ee3cbbe3b (diff) | |
download | dwb-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.js | 2 |
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 |