Browse Source

Re-ordered keys to match other usage.

codeClimate
Zachariah Brown 8 years ago
parent
commit
7c6248626b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/DataView.js

+ 1
- 1
lib/DataView.js View File

@ -370,7 +370,7 @@ DataView.prototype._onEvent = function (event, params, senderId) {
this._trigger('add', {items: added}, senderId); this._trigger('add', {items: added}, senderId);
} }
if (updated.length) { if (updated.length) {
this._trigger('update', {items: updated, data: updatedData, oldData: oldData}, senderId);
this._trigger('update', {items: updated, oldData: oldData, data: updatedData}, senderId);
} }
if (removed.length) { if (removed.length) {
this._trigger('remove', {items: removed}, senderId); this._trigger('remove', {items: removed}, senderId);

Loading…
Cancel
Save