Merge JS for files_versions
Shaves off 3 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
2cd79a8d3d
commit
0ed56589cc
|
@ -0,0 +1,6 @@
|
||||||
|
[
|
||||||
|
"versionmodel.js",
|
||||||
|
"versioncollection.js",
|
||||||
|
"versionstabview.js",
|
||||||
|
"filesplugin.js"
|
||||||
|
]
|
|
@ -163,9 +163,6 @@ class Hooks {
|
||||||
* Load additional scripts when the files app is visible
|
* Load additional scripts when the files app is visible
|
||||||
*/
|
*/
|
||||||
public static function onLoadFilesAppScripts() {
|
public static function onLoadFilesAppScripts() {
|
||||||
\OCP\Util::addScript('files_versions', 'versionmodel');
|
\OCP\Util::addScript('files_versions', 'merged');
|
||||||
\OCP\Util::addScript('files_versions', 'versioncollection');
|
|
||||||
\OCP\Util::addScript('files_versions', 'versionstabview');
|
|
||||||
\OCP\Util::addScript('files_versions', 'filesplugin');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue