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:
authorLukas Reschke <lukas@statuscode.ch>2017-03-24 22:49:25 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-03-24 22:49:25 +0300
commitc761a16bba25d79a5fab7247871a609c1a756de1 (patch)
treee9c8a0f6ff2580c4df811c13103c63b223a3359a /appinfo
parent6aa7c3442c1749d8665ae0d8593735e3f6ab4d8c (diff)
Merge Javascript
Removes 2 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 4c209cb..aa1d7ef 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -5,9 +5,7 @@ if (\OCP\User::isLoggedIn()) {
$eventDispatcher = \OC::$server->getEventDispatcher();
$eventDispatcher->addListener('OCA\Files::loadAdditionalScripts', function() {
OCP\Util::addStyle('files_texteditor', 'merged');
- OCP\Util::addScript('files_texteditor', 'editor');
- OCP\Util::addScript('files_texteditor', 'sidebarpreview');
- OCP\Util::addScript('files_texteditor', 'core/vendor/ace-builds/src-noconflict/ace');
+ OCP\Util::addScript('files_texteditor', 'merged');
$cspManager = \OC::$server->getContentSecurityPolicyManager();
$csp = new \OCP\AppFramework\Http\ContentSecurityPolicy();