summaryrefslogtreecommitdiffstats
path: root/core/src/globals.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-03-23 07:38:34 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-03-23 08:14:19 +0100
commit8633f13e0af8c803cd419af2a611c41708e9c7c1 (patch)
tree41a081d0162fa7cf60a83aab18be6976f0b1d795 /core/src/globals.js
parent5adfec3dc60636fe2da5577dee5299ec0fd9195c (diff)
downloadnextcloud-server-8633f13e0af8c803cd419af2a611c41708e9c7c1.tar.gz
nextcloud-server-8633f13e0af8c803cd419af2a611c41708e9c7c1.zip
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/globals.js')
-rw-r--r--core/src/globals.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 98bb6f64db8..8d60bde6eb0 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -24,20 +24,20 @@
*/
/* eslint-disable @nextcloud/no-deprecations */
-import { initCore } from './init'
+import { initCore } from './init.js'
import _ from 'underscore'
import $ from 'jquery'
-import 'jquery-migrate/dist/jquery-migrate.min'
+import 'jquery-migrate/dist/jquery-migrate.min.js'
// TODO: switch to `jquery-ui` package and import widgets and effects individually
// `jquery-ui-dist` is used as a workaround for the issue of missing effects
-import 'jquery-ui-dist/jquery-ui'
+import 'jquery-ui-dist/jquery-ui.js'
import 'jquery-ui-dist/jquery-ui.css'
import 'jquery-ui-dist/jquery-ui.theme.css'
// END TODO
import autosize from 'autosize'
import Backbone from 'backbone'
-import './Polyfill/tooltip'
+import './Polyfill/tooltip.js'
import ClipboardJS from 'clipboard'
import { dav } from 'davclient.js'
import Handlebars from 'handlebars'
@@ -45,14 +45,14 @@ import md5 from 'blueimp-md5'
import moment from 'moment'
import 'select2'
import 'select2/select2.css'
-import 'snap.js/dist/snap'
+import 'snap.js/dist/snap.js'
import 'strengthify'
import 'strengthify/strengthify.css'
-import OC from './OC/index'
-import OCP from './OCP/index'
-import OCA from './OCA/index'
-import { getToken as getRequestToken } from './OC/requesttoken'
+import OC from './OC/index.js'
+import OCP from './OCP/index.js'
+import OCA from './OCA/index.js'
+import { getToken as getRequestToken } from './OC/requesttoken.js'
const warnIfNotTesting = function() {
if (window.TESTING === undefined) {