summaryrefslogtreecommitdiffstats
path: root/core/src/OC
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/OC')
-rw-r--r--core/src/OC/appconfig.js2
-rw-r--r--core/src/OC/appsettings.js2
-rw-r--r--core/src/OC/backbone.js2
-rw-r--r--core/src/OC/contactsmenu.js2
-rw-r--r--core/src/OC/dialogs.js6
-rw-r--r--core/src/OC/eventsource.js2
-rw-r--r--core/src/OC/index.js62
-rw-r--r--core/src/OC/menu.js2
-rw-r--r--core/src/OC/password-confirmation.js2
-rw-r--r--core/src/OC/util-history.js2
-rw-r--r--core/src/OC/util.js4
-rw-r--r--core/src/OC/xhr-error.js4
12 files changed, 46 insertions, 46 deletions
diff --git a/core/src/OC/appconfig.js b/core/src/OC/appconfig.js
index 4b03f8db5fb..551259bd46c 100644
--- a/core/src/OC/appconfig.js
+++ b/core/src/OC/appconfig.js
@@ -26,7 +26,7 @@
*/
/* eslint-disable */
- import { getValue, setValue, getApps, getKeys, deleteKey } from '../OCP/appconfig'
+ import { getValue, setValue, getApps, getKeys, deleteKey } from '../OCP/appconfig.js'
export const appConfig = window.oc_appconfig || {}
diff --git a/core/src/OC/appsettings.js b/core/src/OC/appsettings.js
index a81708ca461..ee41b7c6f85 100644
--- a/core/src/OC/appsettings.js
+++ b/core/src/OC/appsettings.js
@@ -23,7 +23,7 @@
/* eslint-disable */
import $ from 'jquery'
-import { filePath } from './routing'
+import { filePath } from './routing.js'
import { generateFilePath } from "@nextcloud/router"
/**
diff --git a/core/src/OC/backbone.js b/core/src/OC/backbone.js
index 17ef1c87109..5d93ce21428 100644
--- a/core/src/OC/backbone.js
+++ b/core/src/OC/backbone.js
@@ -22,7 +22,7 @@
*/
import VendorBackbone from 'backbone'
-import { davCall, davSync } from './backbone-webdav'
+import { davCall, davSync } from './backbone-webdav.js'
const Backbone = VendorBackbone.noConflict()
diff --git a/core/src/OC/contactsmenu.js b/core/src/OC/contactsmenu.js
index 58d319a03c0..b915a3f160c 100644
--- a/core/src/OC/contactsmenu.js
+++ b/core/src/OC/contactsmenu.js
@@ -27,7 +27,7 @@ import _ from 'underscore'
import $ from 'jquery'
import { Collection, Model, View } from 'backbone'
-import OC from './index'
+import OC from './index.js'
/**
* @class Contact
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index 91b0e2fffea..45e9e99049d 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -47,9 +47,9 @@
import _ from 'underscore'
import $ from 'jquery'
-import OC from './index'
-import OCA from '../OCA/index'
-import { isA11yActivation } from '../Util/a11y'
+import OC from './index.js'
+import OCA from '../OCA/index.js'
+import { isA11yActivation } from '../Util/a11y.js'
/**
* this class to ease the usage of jquery dialogs
diff --git a/core/src/OC/eventsource.js b/core/src/OC/eventsource.js
index 537d68cb434..940b25655e4 100644
--- a/core/src/OC/eventsource.js
+++ b/core/src/OC/eventsource.js
@@ -29,7 +29,7 @@
/* eslint-disable */
import $ from 'jquery'
-import { getToken } from './requesttoken'
+import { getToken } from './requesttoken.js'
/**
* Create a new event source
diff --git a/core/src/OC/index.js b/core/src/OC/index.js
index 4ab535711ba..cc70bb550a7 100644
--- a/core/src/OC/index.js
+++ b/core/src/OC/index.js
@@ -24,17 +24,17 @@
import { subscribe } from '@nextcloud/event-bus'
-import { addScript, addStyle } from './legacy-loader'
+import { addScript, addStyle } from './legacy-loader.js'
import {
ajaxConnectionLostHandler,
processAjaxError,
registerXHRForErrorProcessing,
-} from './xhr-error'
-import Apps from './apps'
-import { AppConfig, appConfig } from './appconfig'
-import { appSettings } from './appsettings'
-import appswebroots from './appswebroots'
-import Backbone from './backbone'
+} from './xhr-error.js'
+import Apps from './apps.js'
+import { AppConfig, appConfig } from './appconfig.js'
+import { appSettings } from './appsettings.js'
+import appswebroots from './appswebroots.js'
+import Backbone from './backbone.js'
import {
basename,
dirname,
@@ -45,8 +45,8 @@ import {
import {
build as buildQueryString,
parse as parseQueryString,
-} from './query-string'
-import Config from './config'
+} from './query-string.js'
+import Config from './config.js'
import {
coreApps,
menuSpeed,
@@ -58,30 +58,30 @@ import {
PERMISSION_SHARE,
PERMISSION_UPDATE,
TAG_FAVORITE,
-} from './constants'
-import ContactsMenu from './contactsmenu'
-import { currentUser, getCurrentUser } from './currentuser'
-import Dialogs from './dialogs'
-import EventSource from './eventsource'
-import { get, set } from './get_set'
-import { getCapabilities } from './capabilities'
+} from './constants.js'
+import ContactsMenu from './contactsmenu.js'
+import { currentUser, getCurrentUser } from './currentuser.js'
+import Dialogs from './dialogs.js'
+import EventSource from './eventsource.js'
+import { get, set } from './get_set.js'
+import { getCapabilities } from './capabilities.js'
import {
getHost,
getHostName,
getPort,
getProtocol,
-} from './host'
+} from './host.js'
import {
getToken as getRequestToken,
-} from './requesttoken'
+} from './requesttoken.js'
import {
hideMenus,
registerMenu,
showMenu,
unregisterMenu,
-} from './menu'
-import { isUserAdmin } from './admin'
-import L10N from './l10n'
+} from './menu.js'
+import { isUserAdmin } from './admin.js'
+import L10N from './l10n.js'
import {
getCanonicalLocale,
getLanguage,
@@ -100,16 +100,16 @@ import {
import {
linkToRemoteBase,
-} from './routing'
-import msg from './msg'
-import Notification from './notification'
-import PasswordConfirmation from './password-confirmation'
-import Plugins from './plugins'
-import { theme } from './theme'
-import Util from './util'
-import { debug } from './debug'
-import { redirect, reload } from './navigation'
-import webroot from './webroot'
+} from './routing.js'
+import msg from './msg.js'
+import Notification from './notification.js'
+import PasswordConfirmation from './password-confirmation.js'
+import Plugins from './plugins.js'
+import { theme } from './theme.js'
+import Util from './util.js'
+import { debug } from './debug.js'
+import { redirect, reload } from './navigation.js'
+import webroot from './webroot.js'
/** @namespace OC */
export default {
diff --git a/core/src/OC/menu.js b/core/src/OC/menu.js
index 7d4d2f91a6c..efa917decd2 100644
--- a/core/src/OC/menu.js
+++ b/core/src/OC/menu.js
@@ -26,7 +26,7 @@ import _ from 'underscore'
/** @typedef {import('jquery')} jQuery */
import $ from 'jquery'
-import { menuSpeed } from './constants'
+import { menuSpeed } from './constants.js'
export let currentMenu = null
export let currentMenuToggle = null
diff --git a/core/src/OC/password-confirmation.js b/core/src/OC/password-confirmation.js
index 4aa643c19fb..45939efd227 100644
--- a/core/src/OC/password-confirmation.js
+++ b/core/src/OC/password-confirmation.js
@@ -27,7 +27,7 @@ import $ from 'jquery'
import moment from 'moment'
import { generateUrl } from '@nextcloud/router'
-import OC from './index'
+import OC from './index.js'
/**
* @namespace OC.PasswordConfirmation
diff --git a/core/src/OC/util-history.js b/core/src/OC/util-history.js
index a7398b4a2fc..d18b8743936 100644
--- a/core/src/OC/util-history.js
+++ b/core/src/OC/util-history.js
@@ -22,7 +22,7 @@
*/
import _ from 'underscore'
-import OC from './index'
+import OC from './index.js'
/**
* Utility class for the history API,
diff --git a/core/src/OC/util.js b/core/src/OC/util.js
index 27485115f8d..8a50808b5cb 100644
--- a/core/src/OC/util.js
+++ b/core/src/OC/util.js
@@ -23,8 +23,8 @@
import moment from 'moment'
-import History from './util-history'
-import OC from './index'
+import History from './util-history.js'
+import OC from './index.js'
import { formatFileSize as humanFileSize } from '@nextcloud/files'
/**
diff --git a/core/src/OC/xhr-error.js b/core/src/OC/xhr-error.js
index 990340a1fda..a346daa6984 100644
--- a/core/src/OC/xhr-error.js
+++ b/core/src/OC/xhr-error.js
@@ -24,8 +24,8 @@
import _ from 'underscore'
import $ from 'jquery'
-import OC from './index'
-import Notification from './notification'
+import OC from './index.js'
+import Notification from './notification.js'
/**
* Warn users that the connection to the server was lost temporarily