aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OC/index.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-08 10:03:13 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-08 19:58:43 +0200
commit73f9f15607ba23f37ef78b84b6240cce49c1b69b (patch)
treeb63d7141168bb5c464375f27d4087a91b882a52f /core/src/OC/index.js
parentdf1f53c5c343ff6ac9c7bbe616b2c0cffe8a6380 (diff)
downloadnextcloud-server-73f9f15607ba23f37ef78b84b6240cce49c1b69b.tar.gz
nextcloud-server-73f9f15607ba23f37ef78b84b6240cce49c1b69b.zip
Move the legacy OC.addScript and OC.addStyle helpers to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OC/index.js')
-rw-r--r--core/src/OC/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/OC/index.js b/core/src/OC/index.js
index a27695d8eda..81cf002e47f 100644
--- a/core/src/OC/index.js
+++ b/core/src/OC/index.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+import {addScript, addStyle} from './legacy-loader'
import Apps from './apps'
import {AppConfig, appConfig} from './appconfig'
import appswebroots from './appswebroots'
@@ -84,6 +85,8 @@ export default {
PERMISSION_UPDATE,
TAG_FAVORITE,
+ addScript,
+ addStyle,
Apps,
AppConfig,
appConfig,