// TODO: remove deprecated property 'data' some day
Object.defineProperty(props,'data',{
'get':(function(){
console.warn('Property data is deprecated. Use DataSet.get(ids) to retrieve the new data, use the oldData property on this object to get the old data');
returnthis.get(updatedIds);
}).bind(this)
});
this._trigger('update',props,senderId);
}
}
returnaddedIds.concat(updatedIds);
returnaddedIds.concat(updatedIds);
@ -513,7 +522,7 @@ DataSet.prototype.forEach = function (callback, options) {