Skip to content

Commit 98cd6f2

Browse files
author
Tibor Szakmany
committed
fix require.js error
Fixes the error raised when it tries to register as AMD anonymous module.
1 parent 1ff1cd8 commit 98cd6f2

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/collective/js/jqueryui/jquery-ui-1.13.2.custom/jquery-ui.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,10 @@
55

66
( function( factory ) {
77
"use strict";
8-
9-
if ( typeof define === "function" && define.amd ) {
10-
11-
// AMD. Register as an anonymous module.
12-
define( [ "jquery" ], factory );
13-
} else {
148

159
// Browser globals
1610
factory( jQuery );
17-
}
11+
1812
} )( function( $ ) {
1913
"use strict";
2014

src/collective/js/jqueryui/jquery-ui-1.13.2.custom/jquery-ui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)