summaryrefslogtreecommitdiffstats
path: root/apps/files_texteditor
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2011-10-05 16:32:01 +0100
committerTom Needham <needham.thomas@gmail.com>2011-10-05 16:32:01 +0100
commitedd958836e3cef5e93ae3ee59b4db398f8f86cad (patch)
tree17f61905e95dc294ae434bc1f4d4fc6681bc0bf5 /apps/files_texteditor
parent86825ee3b52a7a00a367a9909a37dfb8ad90a9c0 (diff)
downloadnextcloud-server-edd958836e3cef5e93ae3ee59b4db398f8f86cad.tar.gz
nextcloud-server-edd958836e3cef5e93ae3ee59b4db398f8f86cad.zip
Moved addScript and addStyle calls to app.php
Diffstat (limited to 'apps/files_texteditor')
-rw-r--r--apps/files_texteditor/appinfo/app.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_texteditor/appinfo/app.php b/apps/files_texteditor/appinfo/app.php
index 6c10fe44704..15d79933a17 100644
--- a/apps/files_texteditor/appinfo/app.php
+++ b/apps/files_texteditor/appinfo/app.php
@@ -1,4 +1,6 @@
<?php
-//load the required js file
-OC_UTIL::addScript('files_texteditor','editor');
+//load the required files
+OC_Util::addStyle( 'files_texteditor', 'style' );
+OC_Util::addScript( 'files_texteditor', 'editor');
+OC_Util::addScript( 'files_texteditor', 'aceeditor/ace');
?>