Skip to content

Commit a2bb57d

Browse files
committed
Core: use correct module format for r.js optimization
1 parent 74f8a0a commit a2bb57d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui/core.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,9 @@ define( [
1717
"./tabbable",
1818
"./unique-id",
1919
"./version"
20-
] );
20+
], function() {
21+
22+
// here define an empty function to let r.js(the bundler of require.js) to
23+
// generate an independent entry in the generated bundle file.
24+
} );
2125
} )();

0 commit comments

Comments
 (0)