1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
-
-
-
-
- window.qt = {
- cnt:0,
- mx:20,
- stop:0,
- }
- function onAll_run(a,b,c){
- clog("onAll_run",qt.cnt,a,b,c)
-
- // clog("onAll",arguments)
- qt.cnt += 1
- if (qt.cnt > qt.mx || qt.stop){
- clog("stopping",qt.cnt > qt.mx || qt.stop,{cnt:qt.cnt , mx:qt.mx , stop:qt.stop})
- return false
- }
- return true
- }
-
- function onAll(a,b,c){
- clog("onAll_xyz",qt.cnt,a,b,c)
-
- // clog("onAll",arguments)
- qt.cnt += 1
- if (qt.cnt > qt.mx || qt.stop){
- clog("stopping",qt.cnt > qt.mx || qt.stop,{cnt:qt.cnt , mx:qt.mx , stop:qt.stop})
- return false
- }
- return true
- }
- function onAll_isMatch(a,b,c){
- clog("onAll_isMatch",qt.cnt,a,b,c)
-
- // clog("onAll",arguments)
- qt.cnt += 1
- if (qt.cnt > qt.mx || qt.stop){
- clog("stopping",qt.cnt > qt.mx || qt.stop,{cnt:qt.cnt , mx:qt.mx , stop:qt.stop})
- return false
- }
- clog("ISMATCH RET")
- return true
- }
- var jhndlr_opt_null = {
- from: undefined,
- handler: onAll,
- run: onAll_run,
- id: null,
- name: null,
- // "http://jitsi.org/jitmeet"
- ns: null,
- options: {matchBareFromJid: false, ignoreNamespaceFragment: false},
- type: null,
- user: true,
- isMatch:onAll_isMatch,
- // cstr:"test"
- };
-
-
-
- hprx = {
- get:function(obj, prop,receiver){
- clog("HPRX",obj, prop,receiver)
- return Reflect.get(...arguments)
- },
- }
-
-
- // APP.connection.xmpp.connection._stropheConn.handlers
- // APP.connection.xmpp.connection._stropheConn.addHandlers.push(jhndlr_opt_null)
- // APP.connection.xmpp.connection._stropheConn.addHandlers.push(new Proxy(jhndlr_opt_null,hprx))
- // APP.connection.xmpp.connection._stropheConn.handlers.push(jhndlr_opt_null)
- // APP.conference._room.room.addEventListener(jhndlr_opt_null)
-
- // addListener
-
-
- // APP.store.subscribe(onAll)
-
- // APP.conference._room.room.connection
- // APP.conference._room.room.connection.addEventListener("CLIENT_RESIZED",onAll)
- // APP.conference._room.room.connection.addEventListener("USER_JOINED",onAll)
|