fix for internal pusher events

This commit is contained in:
Sven Fuchs 2012-09-26 18:57:49 +02:00
parent 0885cdf674
commit f37fedd4aa
4 changed files with 1494 additions and 1494 deletions

View File

@ -35,7 +35,7 @@ GIT
GIT
remote: git://github.com/travis-ci/travis-api.git
revision: 97e06c556f038b5acfea7771ccb7328fac976629
revision: b21deccf2d76a0f8d00ab417a3609e4fb9d9bf98
specs:
travis-api (0.0.1)
backports (~> 2.5)
@ -53,7 +53,7 @@ GIT
GIT
remote: git://github.com/travis-ci/travis-core.git
revision: ea7a1678a0388e586ac4778a9b6ee56a11dfb0aa
revision: a4b1446e3746a5ff59a5438a34f7b2471e33a731
branch: sf-more-services
specs:
travis-core (0.0.1)

View File

@ -25,8 +25,8 @@ $.extend Travis.Pusher.prototype,
"#{Travis.Pusher.CHANNEL_PREFIX}#{channel}"
receive: (event, data) ->
if data.id
data = @normalize(event, data)
return if event.substr(0, 6) == 'pusher'
data = @normalize(event, data) if data.id
Ember.run.next ->
Travis.app.store.receive(event, data)

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff