mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge JS for comments
Shaves off 6 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
2cd79a8d3d
commit
bdd71b6081
2 changed files with 10 additions and 7 deletions
|
|
@ -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');
|
||||
}
|
||||
);
|
||||
|
|
|
|||
9
apps/comments/js/merged.json
Normal file
9
apps/comments/js/merged.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[
|
||||
"app.js",
|
||||
"commentmodel.js",
|
||||
"commentcollection.js",
|
||||
"commentsummarymodel.js",
|
||||
"commentstabview.js",
|
||||
"filesplugin.js",
|
||||
"activitytabviewplugin.js"
|
||||
]
|
||||
Loading…
Reference in a new issue