From: Nicolas Coden Date: Mon, 13 Aug 2018 20:30:56 +0000 (+0200) Subject: chore: remove unrecommended "grouped" default exports X-Git-Tag: v6.6.0~3^2~100^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e44c64fd;p=thirdparty%2Ffoundation%2Ffoundation-sites.git 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. --- 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 };