app/kern/mod/event.js in flok-0.0.33 vs app/kern/mod/event.js in flok-0.0.34
- old
+ new
@@ -1,16 +1,8 @@
//Event handler table
evt = {};
function int_event(ep, event_name, info) {
- <% if @debug %>
- if (typeof ep == 'string' || ep instanceof String) {
- console.log("WARN: received ep of '" + ep + "' that was a string!!!");
- console.log("name: " + name);
- console.log("info: " + JSON.stringify(info));
- }
- <% end %>
-
var f = evt[ep];
if (f != undefined) {
f(ep, event_name, info);
}
}