Download:
child 112:f4a4878c99a3
parent 110:82e44ab02b5a
111:b2e3a00a9691
Anton Shestakov <av6@dwimlabs.net>, Thu, 07 Apr 2016 22:45:55 +0800
coffee: prefix user-triggered events The last straw was contact.on('remove'): remove is an internal Backbone event.

9 файлов изменено, 41 вставок(+), 41 удалений(-) [+]
coffee/contacts.coffee file | annotate | diff | comparison | revisions
coffee/index.coffee file | annotate | diff | comparison | revisions
coffee/sidebar.coffee file | annotate | diff | comparison | revisions
js/contacts.js file | annotate | diff | comparison | revisions
js/contacts.js.map file | annotate | diff | comparison | revisions
js/index.js file | annotate | diff | comparison | revisions
js/index.js.map file | annotate | diff | comparison | revisions
js/sidebar.js file | annotate | diff | comparison | revisions
js/sidebar.js.map file | annotate | diff | comparison | revisions
--- a/coffee/contacts.coffee Thu Apr 07 22:29:56 2016 +0800
+++ b/coffee/contacts.coffee Thu Apr 07 22:45:55 2016 +0800
@@ -104,14 +104,14 @@
template: $('#contact-template').html()
colors: Tram.colors.show
events:
- 'click [data-chat]': -> @model.trigger('chat')
- 'click [data-authorize]': -> @model.trigger('authorize')
- 'click [data-unauthorize]': -> @model.trigger('unauthorize')
- 'click [data-call]': (event) -> @model.trigger('call', event.currentTarget.getAttribute('data-call'))
- 'click [data-accept]': (event) -> @model.trigger('accept', event.currentTarget.getAttribute('data-accept'))
- 'click [data-decline]': -> @model.trigger('decline')
- 'click [data-hang-up]': -> @model.trigger('hangup')
- 'click [data-remove]': -> @model.trigger('remove')
+ 'click [data-chat]': -> @model.trigger('action/chat')
+ 'click [data-authorize]': -> @model.trigger('action/authorize')
+ 'click [data-unauthorize]': -> @model.trigger('action/unauthorize')
+ 'click [data-call]': (event) -> @model.trigger('action/call', event.currentTarget.getAttribute('data-call'))
+ 'click [data-accept]': (event) -> @model.trigger('action/accept', event.currentTarget.getAttribute('data-accept'))
+ 'click [data-decline]': -> @model.trigger('action/decline')
+ 'click [data-hang-up]': -> @model.trigger('action/hangup')
+ 'click [data-remove]': -> @model.trigger('action/remove')
initialize: ->
@$el.attr('data-jid', @model.get('jid'))
--- a/coffee/index.coffee Thu Apr 07 22:29:56 2016 +0800
+++ b/coffee/index.coffee Thu Apr 07 22:45:55 2016 +0800
@@ -23,11 +23,11 @@
clientState.set('show', model.get('show'))
-clientState.on 'show', (show, status) ->
+clientState.on 'action/show', (show, status) ->
X.conn.send($pres().c('priority').t('1').up().c('show').t(show).up().c('status').t(status).tree())
-clientState.on 'disconnect', ->
+clientState.on 'action/disconnect', ->
X.disconnect('Logged out')
@@ -170,30 +170,30 @@
contact.chat = getChat(bjid)
- contact.on 'chat', ->
+ contact.on 'action/chat', ->
clientState.set('contact', contact)
- contact.on 'authorize', ->
+ contact.on 'action/authorize', ->
X.conn.roster.authorize(contact.get('bjid'))
- contact.on 'unauthorize', ->
+ contact.on 'action/unauthorize', ->
X.conn.roster.unauthorize(contact.get('bjid'))
contacts.remove(contact)
- contact.on 'remove', ->
+ contact.on 'action/remove', ->
X.conn.roster.remove contact.get('bjid'), ->
contacts.remove(contact)
contact.w = new Tram.WebRTCInterface(contact)
- contact.on 'call', (media) ->
+ contact.on 'action/call', (media) ->
contact.set('callstate', 'outgoing')
contact.w.init(true, audio: 'a' in media, video: 'v' in media)
- contact.on 'accept', (media) ->
+ contact.on 'action/accept', (media) ->
contact.w.init(false, audio: 'a' in media, video: 'v' in media)
- contact.on 'decline hangup', ->
+ contact.on 'action/decline action/hangup', ->
contact.w.sendIntent('terminate')
contact.w.disconnect()
contact.unset('callstate')
--- a/coffee/sidebar.coffee Thu Apr 07 22:29:56 2016 +0800
+++ b/coffee/sidebar.coffee Thu Apr 07 22:45:55 2016 +0800
@@ -16,10 +16,10 @@
$btn = $(event.currentTarget)
show = $btn.attr('data-show')
status = $btn.text().trim()
- @model.trigger('show', show, status)
+ @model.trigger('action/show', show, status)
disconnect: =>
- @model.trigger('disconnect')
+ @model.trigger('action/disconnect')
render: (model) ->
@rivet = rivets.bind(@el, model: @model, view: this)
--- a/js/contacts.js Thu Apr 07 22:29:56 2016 +0800
+++ b/js/contacts.js Thu Apr 07 22:45:55 2016 +0800
@@ -184,28 +184,28 @@
ContactView.prototype.events = {
'click [data-chat]': function() {
- return this.model.trigger('chat');
+ return this.model.trigger('action/chat');
},
'click [data-authorize]': function() {
- return this.model.trigger('authorize');
+ return this.model.trigger('action/authorize');
},
'click [data-unauthorize]': function() {
- return this.model.trigger('unauthorize');
+ return this.model.trigger('action/unauthorize');
},
'click [data-call]': function(event) {
- return this.model.trigger('call', event.currentTarget.getAttribute('data-call'));
+ return this.model.trigger('action/call', event.currentTarget.getAttribute('data-call'));
},
'click [data-accept]': function(event) {
- return this.model.trigger('accept', event.currentTarget.getAttribute('data-accept'));
+ return this.model.trigger('action/accept', event.currentTarget.getAttribute('data-accept'));
},
'click [data-decline]': function() {
- return this.model.trigger('decline');
+ return this.model.trigger('action/decline');
},
'click [data-hang-up]': function() {
- return this.model.trigger('hangup');
+ return this.model.trigger('action/hangup');
},
'click [data-remove]': function() {
- return this.model.trigger('remove');
+ return this.model.trigger('action/remove');
}
};
--- a/js/contacts.js.map Thu Apr 07 22:29:56 2016 +0800
+++ b/js/contacts.js.map Thu Apr 07 22:45:55 2016 +0800
@@ -6,5 +6,5 @@
"coffee/contacts.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;;;EAAM,IAAI,CAAC;;;;;;;sBACT,WAAA,GAAa;;sBACb,YAAA,GAAc;;sBACd,iBAAA,GAAmB;;sBACnB,QAAA,GACE;MAAA,QAAA,EAAU,aAAV;MACA,IAAA,EAAM,SADN;;;sBAGF,UAAA,GAAY,SAAA;MACV,IAAC,CAAA,EAAD,CAAI,mBAAJ,EAAyB,IAAC,CAAA,cAA1B;MAEA,IAAC,CAAA,EAAD,CAAI,iDAAJ,EAAuD,SAAA;eACrD,IAAC,CAAA,GAAD,CAAK,UAAL,EAAiB,IAAC,CAAA,GAAD,CAAK,UAAL,CAAA,IAAoB,IAAC,CAAA,GAAD,CAAK,UAAL,CAApB,IA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,UAAR;AACL,UAAA;MAAA,EAAA,GAAK,UAAU,CAAC,OAAX,CAAmB,KAAnB;MACL,KAAK,CAAC,IAAN,GAAiB,IAAA,IAAI,CAAC,WAAL,CAAiB;QAAA,KAAA,EAAO,KAAP;OAAjB;MACjB,EAAA,GAAK,KAAK,CAAC,IAAI,CAAC,MAAX,CAAA,CAAmB,CAAC;MACzB,IAAG,EAAA,KAAM,CAAT;eACE,IAAC,CAAA,GAAG,CAAC,OAAL,CAAa,EAAb,EADF;OAAA,MAAA;eAGE,IAAC,CAAA,GAAG,CAAC,QAAL,CAAA,CAAe,CAAC,EAAhB,CAAmB,EAAA,GAAK,CAAxB,CAA0B,CAAC,KAA3B,CAAiC,EAAjC,EAHF;;IAJK;;0BASP,QAAA,GAAU,SAAC,KAAD;AACR,UAAA;6CAAU,CAAE,MAAZ,CAAA;IADQ;;0BAGV,MAAA,GAAQ,SAAC,UAAD,EAAa,OAAb;MACN,IAAG,CAAI,OAAO,CAAC,GAAf;eACE,UAAU,CAAC,IAAX,CAAgB,CAAA,SAAA,KAAA;iBAAA,SAAC,KAAD;YACd,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAf,CAAA;mBACA,KAAC,CAAA,GAAG,CAAC,MAAL,CAAY,KAAK,CAAC,IAAI,CAAC,EAAvB;UAFc;QAAA,CAAA,CAAA,CAAA,IAAA,CAAhB,EADF;;IADM;;;;KAlBqB,QAAQ,CAAC;AA3IxC"
}
\ No newline at end of file
--- a/js/index.js Thu Apr 07 22:29:56 2016 +0800
+++ b/js/index.js Thu Apr 07 22:45:55 2016 +0800
@@ -59,11 +59,11 @@
}
});
- clientState.on('show', function(show, status) {
+ clientState.on('action/show', function(show, status) {
return X.conn.send($pres().c('priority').t('1').up().c('show').t(show).up().c('status').t(status).tree());
});
- clientState.on('disconnect', function() {
+ clientState.on('action/disconnect', function() {
return X.disconnect('Logged out');
});
@@ -223,36 +223,36 @@
type: self ? 'self' : 'contact'
});
contact.chat = getChat(bjid);
- contact.on('chat', function() {
+ contact.on('action/chat', function() {
return clientState.set('contact', contact);
});
- contact.on('authorize', function() {
+ contact.on('action/authorize', function() {
return X.conn.roster.authorize(contact.get('bjid'));
});
- contact.on('unauthorize', function() {
+ contact.on('action/unauthorize', function() {
X.conn.roster.unauthorize(contact.get('bjid'));
return contacts.remove(contact);
});
- contact.on('remove', function() {
+ contact.on('action/remove', function() {
return X.conn.roster.remove(contact.get('bjid'), function() {
return contacts.remove(contact);
});
});
contact.w = new Tram.WebRTCInterface(contact);
- contact.on('call', function(media) {
+ contact.on('action/call', function(media) {
contact.set('callstate', 'outgoing');
return contact.w.init(true, {
audio: indexOf.call(media, 'a') >= 0,
video: indexOf.call(media, 'v') >= 0
});
});
- contact.on('accept', function(media) {
+ contact.on('action/accept', function(media) {
return contact.w.init(false, {
audio: indexOf.call(media, 'a') >= 0,
video: indexOf.call(media, 'v') >= 0
});
});
- contact.on('decline hangup', function() {
+ contact.on('action/decline action/hangup', function() {
contact.w.sendIntent('terminate');
contact.w.disconnect();
return contact.unset('callstate');
--- a/js/index.js.map Thu Apr 07 22:29:56 2016 +0800
+++ b/js/index.js.map Thu Apr 07 22:45:55 2016 +0800
@@ -6,5 +6,5 @@
"coffee/index.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA,yOAAA;IAAA;;;;EAAA,OAAO,CAAC,YAAR,CAAqB,MAArB,EAA6B,gBAA7B;;EACA,OAAO,CAAC,YAAR,CAAqB,MAArB,EAA6B,eAA7B;;EACA,OAAO,CAAC,YAAR,CAAqB,cAArB,EAAqC,qBAArC;;EAGM,MAAM,CAAC,IAAI,CAAC;;;;;;;0BAChB,QAAA,GACE;MAAA,IAAA,EAAM,SAAN;;;;;KAFkC,QAAQ,CAAC;;EAK/C,MAAM,CAAC,QAAP,GAAsB,IAAA,IAAI,CAAC,QAAL,CAAA;;EACtB,MAAM,CAAC,WAAP,GAAyB,IAAA,IAAI,CAAC,WAAL,CAAiB;IAAA,EAAA,EAAI,CAA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CAAA,CAAE,cAAF,CAAiB,CAAC,EAAlB,CAAqB,UAArB,EAAiC,SAAC,CAAD;IAC/B,IAAG,CAAC,CAAC,OAAF,KAAa,EAAhB;aACE,CAAA,CAAE,mBAAF,CAAsB,CAAC,OAAvB,CAA+B,OAA/B,EADF;;EAD+B,CAAjC;;EAKA,MAAM,CAAC,WAAP,CAAmB,SAAA;WACjB,CAAA,CAAE,gBAAF,CAAmB,CAAC,IAApB,CAAyB,SAAA;AACvB,UAAA;MAAA,KAAA,GAAQ,CAAA,CAAE,IAAF;aACR,KAAK,CAAC,IAAN,CAAW,MAAA,CAAO,KAAK,CAAC,IAAN,CAAW,UAAX,CAAP,CAA8B,CAAC,OAA/B,CAAA,CAAX;IAFuB,CAAzB;EADiB,CAAnB,EAIE,EAAA,GAAK,IAJP;AA9dA"
}
\ No newline at end of file
--- a/js/sidebar.js Thu Apr 07 22:29:56 2016 +0800
+++ b/js/sidebar.js Thu Apr 07 22:45:55 2016 +0800
@@ -37,11 +37,11 @@
$btn = $(event.currentTarget);
show = $btn.attr('data-show');
status = $btn.text().trim();
- return this.model.trigger('show', show, status);
+ return this.model.trigger('action/show', show, status);
};
SidebarApp.prototype.disconnect = function() {
- return this.model.trigger('disconnect');
+ return this.model.trigger('action/disconnect');
};
SidebarApp.prototype.render = function(model) {
--- a/js/sidebar.js.map Thu Apr 07 22:29:56 2016 +0800
+++ b/js/sidebar.js.map Thu Apr 07 22:45:55 2016 +0800
@@ -6,5 +6,5 @@
"coffee/sidebar.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;;;EAAM,MAAM,CAAC,IAAI,CAAC;;;;;;;;;;;yBAChB,MAAA,GAAQ,IAAI,CAAC,MAAM,CAAC;;yBAEpB,UAAA,GAAY,SAAA;aACV,IAAC,CAAA,MAAD,CAAA;IADU;;yBAGZ,WAAA,GAAa,SAAC,IAAD;aACX,cAAA,GAAc,CAAE,IAAC,CAAA,MAAO,CAAA,IAAA,CAAR,IAAiB,IAA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