projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322d7be
)
Correctly proxy events for plugin components other than Network()
author
Darren
<darren@darrenwhitlen.com>
Tue, 12 Aug 2014 15:13:00 +0000
(16:13 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Tue, 12 Aug 2014 15:13:00 +0000
(16:13 +0100)
client/src/app.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/app.js
b/client/src/app.js
index afc76a02addfff57d0ec5f94487b88d88d9dfbfd..92532e1b5df8aa935fef066db28fc1f0517ecf06 100644
(file)
--- a/
client/src/app.js
+++ b/
client/src/app.js
@@
-63,8
+63,6
@@
_kiwi.global = {
*/
\r
function proxyEvent(event_name, event_data) {
\r
if (proxy_event_name == 'all') {
\r
- event_name = event_data.event_name;
\r
- event_data = event_data.event_data;
\r
} else {
\r
event_data = event_name.event_data;
\r
event_name = event_name.event_name;
\r
@@
-76,7
+74,6
@@
_kiwi.global = {
// The event we are to proxy
\r
proxy_event_name = proxy_event_name || 'all';
\r
\r
-
\r
_.extend(this, Backbone.Events);
\r
this._source = event_source;
\r
\r