Skip to content
Snippets Groups Projects
Unverified Commit bdd71b60 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge JS for comments


Shaves off 6 requests.

Signed-off-by: default avatarLukas Reschke <lukas@statuscode.ch>
parent 2cd79a8d
No related branches found
No related tags found
No related merge requests found
...@@ -26,13 +26,7 @@ $eventDispatcher->addListener( ...@@ -26,13 +26,7 @@ $eventDispatcher->addListener(
'OCA\Files::loadAdditionalScripts', 'OCA\Files::loadAdditionalScripts',
function() { function() {
\OCP\Util::addScript('oc-backbone-webdav'); \OCP\Util::addScript('oc-backbone-webdav');
\OCP\Util::addScript('comments', 'app'); \OCP\Util::addScript('comments', 'merged');
\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::addStyle('comments', 'comments'); \OCP\Util::addStyle('comments', 'comments');
} }
); );
......
[
"app.js",
"commentmodel.js",
"commentcollection.js",
"commentsummarymodel.js",
"commentstabview.js",
"filesplugin.js",
"activitytabviewplugin.js"
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment