diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-19 23:08:11 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-10-20 10:17:18 +0200 |
commit | f7ca3ec2012b0790a78cb83b7f2f07aef0445905 (patch) | |
tree | 35e7e9fdaf98662f7d36a04d12165c8673d4d547 /lib/private/legacy | |
parent | f7f271154702883367f418c4f9e35418ab4219ef (diff) | |
download | nextcloud-server-f7ca3ec2012b0790a78cb83b7f2f07aef0445905.tar.gz nextcloud-server-f7ca3ec2012b0790a78cb83b7f2f07aef0445905.zip |
Remove unneeded compatibility polyfills
- `Object.create` supported with IE9+: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/create#Browser_compatibility
- `Object.keys` supported with IE9+: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/keys#Browser_compatibility
- `Array.prototype.filter` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter#Browser_compatibility
- `Array.prototype.indexOf` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf#Browser_compatibility
- `Array.prototype.map` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map#Browser_compatibility
- `Function.prototype.bind` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Browser_compatibility
- `String.prototype.trim` supported with IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Browser_compatibility
- `outerHTML` supported with Firefox 11+: https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML#Browser_compatibility
- `window.devicePixelRatio` supported in IE11+: http://caniuse.com/#feat=devicepixelratio
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/template.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php index 67a8b3ec6e1..b43b4da839a 100644 --- a/lib/private/legacy/template.php +++ b/lib/private/legacy/template.php @@ -143,7 +143,6 @@ class OC_Template extends \OC\Template\Base { OC_Util::addScript("oc-dialogs", null, true); OC_Util::addScript("jquery.ocdialog", null, true); OC_Util::addStyle("jquery.ocdialog"); - OC_Util::addScript("compatibility", null, true); OC_Util::addScript('files/fileinfo'); OC_Util::addScript('files/client'); |