Comparing version 1.0.44 to 1.0.45
@@ -235,3 +235,2 @@ "use strict"; | ||
}, { deep: true }); | ||
return item; | ||
} | ||
@@ -258,3 +257,3 @@ ; | ||
sync.append(active._id, active); | ||
return active; | ||
return map[active._id]; | ||
}, | ||
@@ -261,0 +260,0 @@ query: function (filter, paging, order) { |
@@ -46,6 +46,6 @@ "use strict"; | ||
return AgHelper_1.AgHelper.remap(defaultValue, function (id, def) { | ||
var obj = (id in object_collection) ? object_collection.map()[id] : object_collection.add({ _id: id, value: (0, lodash_1.cloneDeep)(def) }); | ||
var obj = (id in object_collection) ? object_collection.item(id) : object_collection.add({ _id: id, value: (0, lodash_1.cloneDeep)(def) }); | ||
function value() { return obj.value; } | ||
function update(v) { AgHelper_1.AgHelper.update(v, obj.value); } | ||
function restore() { obj.value = AgHelper_1.AgHelper.update((0, lodash_1.cloneDeep)(def), obj.value); } | ||
function update(v) { obj.value = v; } | ||
function restore() { obj.value = (0, lodash_1.cloneDeep)(def); } | ||
return { | ||
@@ -52,0 +52,0 @@ value: value, |
{ | ||
"name": "ag-repo", | ||
"version": "1.0.44", | ||
"version": "1.0.45", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
94135
2014