select-animation 1.6.2 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/select-animation.js +3 -1
package/package.json
CHANGED
package/select-animation.js
CHANGED
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
// -----------------------------
|
|
150
150
|
const animate = function () {
|
|
151
151
|
const definitions = arguments;
|
|
152
|
-
const defsCopy = copyObj(definitions);
|
|
152
|
+
const defsCopy = copyObj(Array.prototype.slice.call(definitions));
|
|
153
153
|
|
|
154
154
|
return function () {
|
|
155
155
|
let tmp, i, propIndex, fromItem, toItem, valFrom, valTo, t;
|
|
@@ -848,6 +848,8 @@
|
|
|
848
848
|
return ret;
|
|
849
849
|
};
|
|
850
850
|
|
|
851
|
+
|
|
852
|
+
|
|
851
853
|
// Expose both for browser and Node/npm consumers
|
|
852
854
|
if (typeof module !== 'undefined' && module.exports) {
|
|
853
855
|
module.exports = {
|