diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-03-24 19:31:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 19:31:31 +0100 |
commit | 2cd79a8d3d6c160b9458327b1429eed9ec1a25a2 (patch) | |
tree | ac8eaf740ea398984f50a276314b58a11bec9ffd /apps | |
parent | 94ab2e40298861c96952fc9d3d0d056eefb570ac (diff) | |
parent | be6acbeb52129d479488e8a059ce5e43c44747cf (diff) | |
download | nextcloud-server-2cd79a8d3d6c160b9458327b1429eed9ec1a25a2.tar.gz nextcloud-server-2cd79a8d3d6c160b9458327b1429eed9ec1a25a2.zip |
Merge pull request #3988 from nextcloud/jscombiner
[PoC] JS Combiner
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 4 | ||||
-rw-r--r-- | apps/files_sharing/js/additionalScripts.json | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index fdaf3d1ec6c..9a06f40abf5 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -38,10 +38,8 @@ $eventDispatcher = \OC::$server->getEventDispatcher(); $eventDispatcher->addListener( 'OCA\Files::loadAdditionalScripts', function() { - \OCP\Util::addScript('files_sharing', 'share'); - \OCP\Util::addScript('files_sharing', 'sharetabview'); - \OCP\Util::addScript('files_sharing', 'sharebreadcrumbview'); \OCP\Util::addStyle('files_sharing', 'mergedAdditionalStyles'); + \OCP\Util::addScript('files_sharing', 'additionalScripts'); } ); diff --git a/apps/files_sharing/js/additionalScripts.json b/apps/files_sharing/js/additionalScripts.json new file mode 100644 index 00000000000..81f3e9f3cab --- /dev/null +++ b/apps/files_sharing/js/additionalScripts.json @@ -0,0 +1,5 @@ +[ + "share.js", + "sharetabview.js", + "sharebreadcrumbview.js" +] |