Change constructor to match docs

This commit is contained in:
Mark Cavage 2011-09-23 08:48:17 -07:00
parent 16597d5632
commit d2d99d14a6
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ function Change(options) {
};
});
this.operation = options.operation || 'add';
this.operation = options.operation || options.type || 'add';
this.modification = options.modification || {};
}
module.exports = Change;