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
This commit is contained in:
Michał Gołębiowski-Owczarek 2019-04-30 21:21:18 +02:00 committed by GitHub
parent cf84696fd1
commit b220f6df88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View File

@ -2,7 +2,7 @@ define( [
"../core",
"../core/isAttached",
"./var/getStyles"
], function( jQuery, isAttached, rboxStyle, getStyles ) {
], function( jQuery, isAttached, getStyles ) {
"use strict";

View File

@ -1,7 +0,0 @@
define( [
"./cssExpand"
], function( cssExpand ) {
"use strict";
return new RegExp( cssExpand.join( "|" ), "i" );
} );