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

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2011-10-05 19:32:01 +0400
committerTom Needham <needham.thomas@gmail.com>2011-10-05 19:32:01 +0400
commitb6a86a86d53d07cac59ff85184d3deae064bb0f6 (patch)
tree48fea47eec68bc02ce28675d5745789fdd486311 /appinfo/app.php
parent6d000b59d187fd2ebc00c963cfa433d8226ffd82 (diff)
Moved addScript and addStyle calls to app.php
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 6c10fe4..15d7993 100644
--- a/appinfo/app.php
+++ b/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');
?>