summaryrefslogtreecommitdiffstats
path: root/core/src/main.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-10 13:38:11 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-10 13:47:21 +0200
commit51d49c3134c9acf7e2daba5bcc8c87e14a7548f1 (patch)
tree2c74c588fbcfeb1bb3766ad4a97ab9e4e21dfdc1 /core/src/main.js
parent855486d7c14ac41c3b952591cc4acbaed996c45a (diff)
downloadnextcloud-server-51d49c3134c9acf7e2daba5bcc8c87e14a7548f1.tar.gz
nextcloud-server-51d49c3134c9acf7e2daba5bcc8c87e14a7548f1.zip
Move initCore to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/main.js')
-rw-r--r--core/src/main.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/src/main.js b/core/src/main.js
index 4d963a1795c..1f8f12c1a0f 100644
--- a/core/src/main.js
+++ b/core/src/main.js
@@ -19,14 +19,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+import $ from 'jquery'
import '@babel/polyfill'
import './Polyfill/index'
+// If you remove the line below, tests won't pass
+import OC from './OC/index'
+
import './globals'
-import $ from 'jquery'
import './jquery/index'
+import {initCore} from './init'
import {registerAppsSlideToggle} from './OC/apps'
$(document).ready(function () {
+ initCore();
+
registerAppsSlideToggle();
});