diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-12-11 20:56:46 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-01-09 15:01:59 +0100 |
commit | 208788173d0dab2950bf5eb1ddbfcab63ef781e3 (patch) | |
tree | ac54763283ecec74a8a4aa873fcae57a8baa098a /lib/private/legacy | |
parent | 1fd6741182f3f39458612fbf9b3e381eb7d2f62f (diff) | |
download | nextcloud-server-208788173d0dab2950bf5eb1ddbfcab63ef781e3.tar.gz nextcloud-server-208788173d0dab2950bf5eb1ddbfcab63ef781e3.zip |
Npmize (vendor) scripts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/template.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php index 9c7da75e5fd..0c66cca134e 100644 --- a/lib/private/legacy/template.php +++ b/lib/private/legacy/template.php @@ -112,7 +112,6 @@ class OC_Template extends \OC\Template\Base { OC_Util::addStyle('css-variables', null, true); OC_Util::addStyle('server', null, true); OC_Util::addStyle('jquery-ui-fixes',null,true); - OC_Util::addVendorStyle('jquery-ui/themes/base/jquery-ui',null,true); OC_Util::addVendorStyle('select2/select2', null, true); OC_Util::addStyle('jquery.ocdialog'); OC_Util::addTranslations("core", null, true); @@ -145,10 +144,9 @@ class OC_Template extends \OC\Template\Base { // Import all (combined) default vendor libraries OC_Util::addVendorScript('core', null, true); } + OC_Util::addScript('core', 'dist/main', true); if (\OC::$server->getRequest()->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_IE])) { - // polyfill for btoa/atob for IE friends - OC_Util::addVendorScript('base64/base64'); // shim for the davclient.js library \OCP\Util::addScript('files/iedavclient'); } |