diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-03-24 22:49:25 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-03-24 22:49:25 +0300 |
commit | c761a16bba25d79a5fab7247871a609c1a756de1 (patch) | |
tree | e9c8a0f6ff2580c4df811c13103c63b223a3359a /appinfo/app.php | |
parent | 6aa7c3442c1749d8665ae0d8593735e3f6ab4d8c (diff) |
Merge Javascript
Removes 2 requests.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'appinfo/app.php')
-rw-r--r-- | appinfo/app.php | 4 |
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(); |