diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-03-24 19:49:43 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-03-24 19:49:43 +0100 |
commit | bdd71b6081a696eec352a1cea69d788631d6f549 (patch) | |
tree | 1cb7e51f6a91a18861d893a19ada4a6b6aadb9b4 /apps/comments/appinfo | |
parent | 2cd79a8d3d6c160b9458327b1429eed9ec1a25a2 (diff) | |
download | nextcloud-server-bdd71b6081a696eec352a1cea69d788631d6f549.tar.gz nextcloud-server-bdd71b6081a696eec352a1cea69d788631d6f549.zip |
Merge JS for comments
Shaves off 6 requests.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/comments/appinfo')
-rw-r--r-- | apps/comments/appinfo/app.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/comments/appinfo/app.php b/apps/comments/appinfo/app.php index 144a4506d38..067e01e47ef 100644 --- a/apps/comments/appinfo/app.php +++ b/apps/comments/appinfo/app.php @@ -26,13 +26,7 @@ $eventDispatcher->addListener( 'OCA\Files::loadAdditionalScripts', function() { \OCP\Util::addScript('oc-backbone-webdav'); - \OCP\Util::addScript('comments', 'app'); - \OCP\Util::addScript('comments', 'commentmodel'); - \OCP\Util::addScript('comments', 'commentcollection'); - \OCP\Util::addScript('comments', 'commentsummarymodel'); - \OCP\Util::addScript('comments', 'commentstabview'); - \OCP\Util::addScript('comments', 'filesplugin'); - \OCP\Util::addScript('comments', 'activitytabviewplugin'); + \OCP\Util::addScript('comments', 'merged'); \OCP\Util::addStyle('comments', 'comments'); } ); |