We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ad209 commit 693fac1Copy full SHA for 693fac1
src/gridstack.js
@@ -168,7 +168,7 @@
168
169
sources.forEach(function(source) {
170
for (var prop in source) {
171
- if (source.hasOwnProperty(prop) && (!target.hasOwnProperty(prop) || target[prop] === undefined)) {
+ if (Object.prototype.hasOwnProperty.call(source, prop) && (!Object.prototype.hasOwnProperty.call(target, prop) || target[prop] === undefined)) {
172
target[prop] = source[prop];
173
}
174
0 commit comments