Update with new service features.

This commit is contained in:
Simo Kinnunen
2014-05-01 17:04:54 +09:00
parent 2379acae5d
commit a915aea9ea
9 changed files with 440 additions and 109 deletions

View File

@@ -74,7 +74,7 @@ module.exports = function DeviceServiceFactory($http, socket) {
}
function modify(data, newData) {
_.assign(data, newData)
_.merge(data, newData)
sync(data)
notify()
}