Merge pull request #4039 from nextcloud/merge-js-for-comments

Merge JS for comments
This commit is contained in:
Morris Jobke 2017-03-24 13:16:38 -06:00 committed by GitHub
commit 773faa215b
2 changed files with 10 additions and 7 deletions

View File

@ -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');
} }
); );

View File

@ -0,0 +1,9 @@
[
"app.js",
"commentmodel.js",
"commentcollection.js",
"commentsummarymodel.js",
"commentstabview.js",
"filesplugin.js",
"activitytabviewplugin.js"
]