Download:
child 149:e0b887c385f1
parent 147:acd87ac0182d
148:42a539ea9b97
Anton Shestakov <av6@dwimlabs.net>, Wed, 13 Apr 2016 21:35:07 +0800
XMPPInterface: trigger generic status event after specific status event

3 файлов изменено, 31 вставок(+), 18 удалений(-) [+]
coffee/xmpp.coffee file | annotate | diff | comparison | revisions
js/xmpp.js file | annotate | diff | comparison | revisions
js/xmpp.js.map file | annotate | diff | comparison | revisions
--- a/coffee/xmpp.coffee Tue Apr 12 16:54:58 2016 +0800
+++ b/coffee/xmpp.coffee Wed Apr 13 21:35:07 2016 +0800
@@ -65,8 +65,6 @@
@conn.sendIQ($vcard.tree(), okcb, failcb)
onConnect: (status, error) =>
- @trigger('status', status)
-
switch status
when Strophe.Status.CONNECTING
console.debug('Strophe is connecting.')
@@ -126,6 +124,8 @@
console.debug('The server does not support In-Band Registration.')
@trigger('regifail')
+ @trigger('status', status)
+
generateVersionString: ->
ver = ''
--- a/js/xmpp.js Tue Apr 12 16:54:58 2016 +0800
+++ b/js/xmpp.js Wed Apr 13 21:35:07 2016 +0800
@@ -83,53 +83,66 @@
};
XMPPInterface.prototype.onConnect = function(status, error) {
- this.trigger('status', status);
switch (status) {
case Strophe.Status.CONNECTING:
console.debug('Strophe is connecting.');
- return this.trigger('connecting');
+ this.trigger('connecting');
+ break;
case Strophe.Status.AUTHENTICATING:
console.debug('Strophe is authenticating.');
- return this.trigger('authenticating');
+ this.trigger('authenticating');
+ break;
case Strophe.Status.AUTHFAIL:
console.debug('Strophe failed to authenticate:', error);
- return this.trigger('authfail');
+ this.trigger('authfail');
+ break;
case Strophe.Status.ERROR:
console.debug('Strophe received an error:', error);
- return this.trigger('error');
+ this.trigger('error');
+ break;
case Strophe.Status.CONNFAIL:
console.debug('Strophe failed to connect:', error);
- return this.trigger('connfail');
+ this.trigger('connfail');
+ break;
case Strophe.Status.DISCONNECTING:
console.debug('Strophe is disconnecting.');
- return this.trigger('disconnecting');
+ this.trigger('disconnecting');
+ break;
case Strophe.Status.DISCONNECTED:
console.debug('Strophe is disconnected.');
- return this.trigger('disconnected');
+ this.trigger('disconnected');
+ break;
case Strophe.Status.CONNECTED:
console.debug('Strophe is connected.');
console.info('My jid:', this.conn.jid);
- return this.trigger('connected');
+ this.trigger('connected');
+ break;
case Strophe.Status.ATTACHED:
console.debug('Strophe is attached.');
console.info('My jid:', this.conn.jid);
- return this.trigger('attached');
+ this.trigger('attached');
+ break;
case Strophe.Status.REGISTER:
console.debug('Got registration prompt.');
- return this.trigger('register');
+ this.trigger('register');
+ break;
case Strophe.Status.REGISTERED:
console.debug('Registered!');
- return this.trigger('registered');
+ this.trigger('registered');
+ break;
case Strophe.Status.CONFLICT:
console.debug('Contact already exists!');
- return this.trigger('conflict');
+ this.trigger('conflict');
+ break;
case Strophe.Status.NOTACCEPTABLE:
console.debug('Registration form not properly filled out.');
- return this.trigger('notacceptable');
+ this.trigger('notacceptable');
+ break;
case Strophe.Status.REGIFAIL:
console.debug('The server does not support In-Band Registration.');
- return this.trigger('regifail');
+ this.trigger('regifail');
}
+ return this.trigger('status', status);
};
XMPPInterface.prototype.generateVersionString = function() {
--- a/js/xmpp.js.map Tue Apr 12 16:54:58 2016 +0800
+++ b/js/xmpp.js.map Wed Apr 13 21:35:07 2016 +0800
@@ -6,5 +6,5 @@
"coffee/xmpp.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;EAAM,IAAI,CAAC;4BACT,IAAA,GAAM;;IAEO,uBAAA;;IAAA;;4BAEb,kBAAA,GAAoB,SAAA;MAClB,IAAG,iBAAH;QACE,OAAO,CAAC,KAAR,CAAc,qCAAd,EADF;;aAGA,IAAC,CAAA,IAAD,GAAY,IAAA,OAAO,CAAC,UAAR,CAAmB,UAAA,GAAY,IAAI,CAAC,MAAM,CAAC,IAAxB,GAA8B,YAAjD;IAJM;;4BAMpB,OAAA,GAAS,SAAC,IAAD,EAAO,IAAP;AACP,UAAA;MAAA,IAAC,CAAA,kBAAD,CAAA;MAEA,GAAA,GAAU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