Skip to content

Commit 2bdb29e

Browse files
committed
Update dist files
1 parent aba46cb commit 2bdb29e

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

dist/react-sortable.js

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*! react-sortablejs v0.7.0 | (c) 2016 Cheton Wu <[email protected]> | MIT | https://github.com/cheton/react-sortable */
12
(function webpackUniversalModuleDefinition(root, factory) {
23
if(typeof exports === 'object' && typeof module === 'object')
34
module.exports = factory(require("react"), require("react-dom"), require("sortablejs"));
@@ -119,15 +120,22 @@ return /******/ (function(modules) { // webpackBootstrap
119120
sources[_key - 1] = arguments[_key];
120121
}
121122

122-
sources.forEach(function (source) {
123-
for (var key in source) {
124-
if (source.hasOwnProperty(key)) {
125-
target[key] = source[key];
123+
if (target === undefined || target === null) {
124+
throw new TypeError('Cannot convert undefined or null to object');
125+
}
126+
127+
var output = Object(target);
128+
for (var index = 0; index < sources.length; index++) {
129+
var source = sources[index];
130+
if (source !== undefined && source !== null) {
131+
for (var key in source) {
132+
if (source.hasOwnProperty(key)) {
133+
output[key] = source[key];
134+
}
126135
}
127136
}
128-
});
129-
130-
return target;
137+
}
138+
return output;
131139
};
132140

133141
var SortableMixin = function SortableMixin() {

dist/react-sortable.min.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)