From a2bb57d6307808a5d9c0addaba66e594a2049852 Mon Sep 17 00:00:00 2001 From: blacktail Date: Mon, 28 Aug 2017 17:54:30 +0800 Subject: [PATCH] Core: use correct module format for r.js optimization --- ui/core.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/core.js b/ui/core.js index 2cccd0bd8..2ca84fd95 100644 --- a/ui/core.js +++ b/ui/core.js @@ -17,5 +17,9 @@ define( [ "./tabbable", "./unique-id", "./version" -] ); +], function() { + + // here define an empty function to let r.js(the bundler of require.js) to + // generate an independent entry in the generated bundle file. +} ); } )();