Merge systemtags JS

Shaves off 7 requests.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-03-24 20:08:27 +01:00
parent 2cd79a8d3d
commit a9c3692a9a
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
3 changed files with 15 additions and 9 deletions

View File

@ -30,15 +30,8 @@ $eventDispatcher->addListener(
function() {
// FIXME: no public API for these ?
\OCP\Util::addScript('oc-backbone-webdav');
\OCP\Util::addScript('systemtags/systemtags');
\OCP\Util::addScript('systemtags/systemtagmodel');
\OCP\Util::addScript('systemtags/systemtagsmappingcollection');
\OCP\Util::addScript('systemtags/systemtagscollection');
\OCP\Util::addScript('systemtags/systemtagsinputfield');
\OCP\Util::addScript('systemtags', 'app');
\OCP\Util::addScript('systemtags', 'systemtagsfilelist');
\OCP\Util::addScript('systemtags', 'filesplugin');
\OCP\Util::addScript('systemtags', 'systemtagsinfoview');
\OCP\Util::addScript('systemtags/merged');
\OCP\Util::addScript('systemtags', 'merged');
\OCP\Util::addStyle('systemtags');
\OCP\Util::addStyle('systemtags', 'systemtagsfilelist');
}

View File

@ -0,0 +1,6 @@
[
"app.js",
"systemtagsfilelist.js",
"filesplugin.js",
"systemtagsinfoview.js"
]

View File

@ -0,0 +1,7 @@
[
"systemtags.js",
"systemtagmodel.js",
"systemtagsmappingcollection.js",
"systemtagscollection.js",
"systemtagsinputfield.js"
]