Fix browser plugin not updating in real time.

This commit is contained in:
Simo Kinnunen
2014-05-01 20:13:29 +09:00
parent 26b2b1acc6
commit 98ecf57d49
9 changed files with 128 additions and 181 deletions

View File

@@ -344,7 +344,7 @@ module.exports = function(options) {
, battery: message
})
})
.on(wire.BrowserPackageEvent, function(channel, message) {
.on(wire.DeviceBrowserMessage, function(channel, message) {
var serial = message.serial
delete message.serial
socket.emit('device.change', {