Skip to content

Commit

Permalink
newValue -> value
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Aug 8, 2019
1 parent 3b8a3dd commit 1c5633e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions can-define.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ make = {
action: "set",
key: "prop",
target: map,
newValue: newVal,
value: newVal,
oldValue: oldValue,
type: prop, // TODO: Remove in 6.0
}, [newVal, oldValue]);
Expand Down Expand Up @@ -556,7 +556,7 @@ make = {
patches: [{type: "set", key: prop, value: newVal}],
target: this,
action: "set",
newValue: newVal,
value: newVal,
oldValue: current,
key: prop,
type: prop // TODO: Remove in 6.0
Expand Down Expand Up @@ -1158,7 +1158,7 @@ define.expando = function(map, prop, value) {
map.dispatch({
action: "add",
target: map,
newValue: map._data[prop],
value: map._data[prop],
oldValue: undefined,
key: prop,
type: prop, // TODO: Remove in 6.0
Expand Down
2 changes: 1 addition & 1 deletion define-helpers/define-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ var defineHelpers = {
this.dispatch({
action: "delete",
key: prop,
newValue: undefined,
value: undefined,
oldValue: oldValue,
type: prop, // TODO: Remove in 6.0
target: this,
Expand Down

0 comments on commit 1c5633e

Please sign in to comment.