Skip to content

Commit 26414d5

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/core.js

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

0 commit comments

Comments
 (0)