Shaves off 3 requests.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
--- /dev/null
+[
+ "versionmodel.js",
+ "versioncollection.js",
+ "versionstabview.js",
+ "filesplugin.js"
+]
* 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');
}
}