From: Michał Gołębiowski-Owczarek Date: Tue, 30 Apr 2019 19:21:18 +0000 (+0200) Subject: Build: Fix AMD dependencies in curCSS X-Git-Tag: 4.0.0-beta~271 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b220f6df88d34dd908f55d57417fcec377787e5c;p=jquery.git 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 --- 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" ); -} );