diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2019-04-30 21:21:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 21:21:18 +0200 |
commit | b220f6df88d34dd908f55d57417fcec377787e5c (patch) | |
tree | fa5aa0ad142b2cf9665d70c228282ae04c7ee839 /src | |
parent | cf84696fd1d7fe314a11492606529b5a658ee9e3 (diff) | |
download | jquery-b220f6df88d34dd908f55d57417fcec377787e5c.tar.gz jquery-b220f6df88d34dd908f55d57417fcec377787e5c.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/css/curCSS.js | 2 | ||||
-rw-r--r-- | src/css/var/rboxStyle.js | 7 |
2 files changed, 1 insertions, 8 deletions
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" ); -} ); |