Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
AFB.js: pass event name
[src/app-framework-binder.git]
/
test
/
monitoring
/
AFB.js
diff --git
a/test/monitoring/AFB.js
b/test/monitoring/AFB.js
index
953fe96
..
227b1a9
100644
(file)
--- a/
test/monitoring/AFB.js
+++ b/
test/monitoring/AFB.js
@@
-125,16
+125,16
@@
var AFB_websocket;
function fire(awaitens, name, data) {
var a = awaitens[name];
if (a)
function fire(awaitens, name, data) {
var a = awaitens[name];
if (a)
- a.forEach(function(handler){handler(data);});
+ a.forEach(function(handler){handler(data
, name
);});
var i = name.indexOf("/");
if (i >= 0) {
a = awaitens[name.substring(0,i)];
if (a)
var i = name.indexOf("/");
if (i >= 0) {
a = awaitens[name.substring(0,i)];
if (a)
- a.forEach(function(handler){handler(data);});
+ a.forEach(function(handler){handler(data
, name
);});
}
a = awaitens["*"];
if (a)
}
a = awaitens["*"];
if (a)
- a.forEach(function(handler){handler(data);});
+ a.forEach(function(handler){handler(data
, name
);});
}
function reply(pendings, id, ans, offset) {
}
function reply(pendings, id, ans, offset) {