Skip to content

Commit

Permalink
Merge branch '15-dev' into 15-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
flarnie committed Jun 14, 2017
2 parents 461a5a2 + cd262c7 commit 123c7cd
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/renderers/dom/client/inputValueTracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,15 @@ var inputValueTracking = {

var currentValue = '' + node[valueField];

// if someone has already defined a value bail and don't track value
// will cause over reporting of changes, but it's better then a hard failure
// (needed for certain tests that spyOn input values)
if (node.hasOwnProperty(valueField)) {
// if someone has already defined a value or Safari, then bail
// and don't track value will cause over reporting of changes,
// but it's better then a hard failure
// (needed for certain tests that spyOn input values and Safari)
if (
node.hasOwnProperty(valueField) ||
typeof descriptor.get !== 'function' ||
typeof descriptor.set !== 'function'
) {
return;
}

Expand Down

0 comments on commit 123c7cd

Please sign in to comment.