Commit 6a7fa8be authored by Kulya's avatar Kulya 😊

dfsgsdfg

parent e158bc4a
...@@ -9343,6 +9343,7 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) { ...@@ -9343,6 +9343,7 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) {
}, SIPml.EventTarget.prototype.removeEventListener = function(_) { }, SIPml.EventTarget.prototype.removeEventListener = function(_) {
tsk_string_is_string(_) && !tsk_string_is_null_or_empty(_) && (this.ao_listeners[_] = void 0) tsk_string_is_string(_) && !tsk_string_is_null_or_empty(_) && (this.ao_listeners[_] = void 0)
}, SIPml.EventTarget.prototype.dispatchEvent = function(_) { }, SIPml.EventTarget.prototype.dispatchEvent = function(_) {
console.log("-= DISPATCh Event: ", _)
var e = this.ao_listeners[_.s_type] || this.ao_listeners["*"]; var e = this.ao_listeners[_.s_type] || this.ao_listeners["*"];
e && e.call(this, _.o_value) e && e.call(this, _.o_value)
}, SIPml.Event = function(_, e) { }, SIPml.Event = function(_, e) {
...@@ -9448,6 +9449,7 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) { ...@@ -9448,6 +9449,7 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) {
}) })
} else tsk_utils_log_warn("Cannot find session with id = " + t) } else tsk_utils_log_warn("Cannot find session with id = " + t)
}, this.o_stack.on_event_message = function(_) { }, this.o_stack.on_event_message = function(_) {
console.log("--=== on_event_message MSG:", _)
var e = null, var e = null,
t = _.o_session.i_id, t = _.o_session.i_id,
s = _.o_session.o_stack.oStack.ao_sessions[t]; s = _.o_session.o_stack.oStack.ao_sessions[t];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment