Merge JS for files_versions

Shaves off 3 requests.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-03-24 19:57:19 +01:00
parent 2cd79a8d3d
commit 0ed56589cc
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1,6 @@
[
"versionmodel.js",
"versioncollection.js",
"versionstabview.js",
"filesplugin.js"
]

View File

@ -163,9 +163,6 @@ class Hooks {
* Load additional scripts when the files app is visible
*/
public static function onLoadFilesAppScripts() {
\OCP\Util::addScript('files_versions', 'versionmodel');
\OCP\Util::addScript('files_versions', 'versioncollection');
\OCP\Util::addScript('files_versions', 'versionstabview');
\OCP\Util::addScript('files_versions', 'filesplugin');
\OCP\Util::addScript('files_versions', 'merged');
}
}