Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/OC/legacy-loader.js')
-rw-r--r--core/src/OC/legacy-loader.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/OC/legacy-loader.js b/core/src/OC/legacy-loader.js
index 3fedc07a081..07efbef0fc6 100644
--- a/core/src/OC/legacy-loader.js
+++ b/core/src/OC/legacy-loader.js
@@ -31,10 +31,11 @@ const loadedStyles = []
/**
* Load a script for the server and load it. If the script is already loaded,
* the event handler will be called directly
+ *
* @param {string} app the app id to which the script belongs
* @param {string} script the filename of the script
* @param {Function} ready event handler to be called when the script is loaded
- * @returns {jQuery.Deferred}
+ * @return {jQuery.Deferred}
* @deprecated 16.0.0 Use OCP.Loader.loadScript
*/
export const addScript = (app, script, ready) => {
@@ -56,6 +57,7 @@ export const addScript = (app, script, ready) => {
/**
* Loads a CSS file
+ *
* @param {string} app the app id to which the css style belongs
* @param {string} style the filename of the css file
* @deprecated 16.0.0 Use OCP.Loader.loadStylesheet