Rebuild lib after @enebe-nb's changes

This commit is contained in:
meew0
2016-01-15 15:15:25 +01:00
parent b3d5197013
commit 6f31130726
2 changed files with 26 additions and 4 deletions

View File

@@ -77,7 +77,11 @@ var Cache = (function (_Array) {
if (item) {
var index = this.indexOf(item);
Object.assign(this[index], data);
for (var dataIndex in data) {
if (data.hasOwnProperty(dataIndex)) {
this[index][dataIndex] = data[dataIndex];
}
}
this[discrimCacheS][data[this[discrimS]]] = this[index];
return this[index];
} else {