Skip to content

Commit

Permalink
Build: Fix AMD dependencies in curCSS
Browse files Browse the repository at this point in the history
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 jquerygh-4347
  • Loading branch information
mgol committed Apr 30, 2019
1 parent cf84696 commit dc05ee6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion src/css/curCSS.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ define( [
"../core",
"../core/isAttached",
"./var/getStyles"
], function( jQuery, isAttached, rboxStyle, getStyles ) {
], function( jQuery, isAttached, getStyles ) {

"use strict";

Expand Down
7 changes: 0 additions & 7 deletions src/css/var/rboxStyle.js

This file was deleted.

0 comments on commit dc05ee6

Please sign in to comment.