Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Gunther Brunner
2014-04-03 21:53:29 +09:00
4 changed files with 53 additions and 0 deletions

View File

@@ -137,6 +137,14 @@ module.exports = function ControlServiceFactory(
return tx
})
}
this.uninstall = function(pkg) {
var tx = TransactionService.create(target)
socket.emit('device.uninstall', channel, tx.channel, {
package: pkg
})
return tx
}
}
controlService.create = function(target, channel) {