diff options
author | portix <none@none> | 2013-03-19 01:05:10 +0100 |
---|---|---|
committer | portix <none@none> | 2013-03-19 01:05:10 +0100 |
commit | 34a5c436db3271c72f91cf0f028c934d6474c902 (patch) | |
tree | 184218d2dcb9adaddd52f857fb386f3b5f944825 /extensions/userscripts | |
parent | f98991177a2c21acfe737d9180ce6e18fa924ffa (diff) | |
download | dwb-34a5c436db3271c72f91cf0f028c934d6474c902.zip |
New Signal api
Diffstat (limited to 'extensions/userscripts')
-rw-r--r-- | extensions/userscripts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/userscripts b/extensions/userscripts index e8fd71ee..9d86d7ca 100644 --- a/extensions/userscripts +++ b/extensions/userscripts @@ -489,13 +489,13 @@ function userscriptsStart() if (onStart.length > 0) { onStart.sort(function(a, b) { return b.priority - a.priority; }); - signals.connect("loadCommitted", loadCommittedCallback); + Signal.connect("loadCommitted", loadCommittedCallback); ret = true; } if (onEnd.length > 0) { onEnd.sort(function(a, b) { return b.priority - a.priority; }); - signals.connect("documentLoaded", loadFinishedCallback); + Signal.connect("documentLoaded", loadFinishedCallback); ret = true; } //metaData = {}; @@ -541,8 +541,8 @@ var userscripts = { return parseScripts(c ? c.scripts || [] : []); }, end : function () { - signals.disconnect(loadFinishedCallback); - signals.disconnect(loadCommittedCallback); + Signal.disconnect(loadFinishedCallback); + Signal.disconnect(loadCommittedCallback); } }; |