From b220f6df88d34dd908f55d57417fcec377787e5c Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Tue, 30 Apr 2019 21:21:18 +0200 Subject: Build: Fix AMD dependencies in curCSS A leftover `rboxStyle` was left in the wrapper parameters but not in the dependency array, causing `getStyles` to be undefined in AMD mode. Since `rboxStyle` is no longer used, it's now removed. Ref gh-4347 Closes gh-4380 --- src/css/curCSS.js | 2 +- src/css/var/rboxStyle.js | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/css/var/rboxStyle.js (limited to 'src') diff --git a/src/css/curCSS.js b/src/css/curCSS.js index 111285b2e..882e7423e 100644 --- a/src/css/curCSS.js +++ b/src/css/curCSS.js @@ -2,7 +2,7 @@ define( [ "../core", "../core/isAttached", "./var/getStyles" -], function( jQuery, isAttached, rboxStyle, getStyles ) { +], function( jQuery, isAttached, getStyles ) { "use strict"; diff --git a/src/css/var/rboxStyle.js b/src/css/var/rboxStyle.js deleted file mode 100644 index 902c01085..000000000 --- a/src/css/var/rboxStyle.js +++ /dev/null @@ -1,7 +0,0 @@ -define( [ - "./cssExpand" -], function( cssExpand ) { - "use strict"; - - return new RegExp( cssExpand.join( "|" ), "i" ); -} ); -- cgit v1.2.3