Remove object-assign reference.

This commit is contained in:
Paulus Schoutsen 2017-02-02 12:10:14 -08:00 committed by GitHub
parent da62d1bf18
commit f67e728d6d

View File

@ -1,5 +1,3 @@
import objectAssign from 'object-assign';
import stateData from './state_data';
function getTime(minutesAgo) {
@ -53,7 +51,7 @@ function addEntity(state, deltas) {
} else if (!state.attributes) {
attributes = change.attributes;
} else {
attributes = objectAssign({}, state.attributes, change.attributes);
attributes = Object.assign({}, state.attributes, change.attributes);
}
const time = index === 0 ? getTime(maxTime) : getTime(maxTime - index * timeDiff +