From 8e44c64fdb573b7af7e08f16a74efc777e35b11e Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Mon, 13 Aug 2018 22:30:56 +0200 Subject: [PATCH] chore: remove unrecommended "grouped" default exports Default exports should only be used for "primary" objects or classes, not for libraries for which individual named exports should be prefered. --- js/foundation.core.utils.js | 1 - js/foundation.util.motion.js | 1 - 2 files changed, 2 deletions(-) diff --git a/js/foundation.core.utils.js b/js/foundation.core.utils.js index 828eb089f..46b2f0ed4 100644 --- a/js/foundation.core.utils.js +++ b/js/foundation.core.utils.js @@ -91,4 +91,3 @@ function onLoad($elem, handler) { } export { rtl, GetYoDigits, RegExpEscape, transitionend, onLoad }; -export default { rtl, GetYoDigits, RegExpEscape, transitionend, onLoad }; diff --git a/js/foundation.util.motion.js b/js/foundation.util.motion.js index c8043cb0f..926b0ba00 100644 --- a/js/foundation.util.motion.js +++ b/js/foundation.util.motion.js @@ -101,4 +101,3 @@ function animate(isIn, element, animation, cb) { } export { Motion, Move } -export default { Motion, Move }; -- 2.47.2