Browse Source

Fix #2679 (#2973)

* Fix redraw order

* Fix error when option is not defined

* Allow template labels

* Add .travis.yml file

* Add experiment travis code

* Fix react example

* Make selectiveExtend accept null/undefined parameters
gemini
yotamberk 7 years ago
committed by GitHub
parent
commit
3028c14579
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/util.js

+ 1
- 1
lib/util.js View File

@ -188,7 +188,7 @@ exports.selectiveExtend = function (props, a, b) {
for (var p = 0; p < props.length; p++) { for (var p = 0; p < props.length; p++) {
var prop = props[p]; var prop = props[p];
if (other.hasOwnProperty(prop)) {
if (other && other.hasOwnProperty(prop)) {
a[prop] = other[prop]; a[prop] = other[prop];
} }
} }

Loading…
Cancel
Save