Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2015-08-18 13:43:45 +0300
committersgiehl <stefan@piwik.org>2015-10-06 18:25:24 +0300
commit6307be0b45268d744e3d1db80e2087dca538ade5 (patch)
tree069b6d7b46cd22f4107729e96ce28a2bd59ff263 /plugins/Morpheus
parent42f9f52f36fc34583c4b3473006e0b1005b8ce90 (diff)
refs #4620 removed some code that was only there for IE8
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r--plugins/Morpheus/javascripts/piwikHelper.js43
-rw-r--r--plugins/Morpheus/stylesheets/base/mixins.less2
-rw-r--r--plugins/Morpheus/stylesheets/general/_utils.less5
-rw-r--r--plugins/Morpheus/templates/layout.twig3
4 files changed, 0 insertions, 53 deletions
diff --git a/plugins/Morpheus/javascripts/piwikHelper.js b/plugins/Morpheus/javascripts/piwikHelper.js
index cc6ae5dde5..a8048c9b51 100644
--- a/plugins/Morpheus/javascripts/piwikHelper.js
+++ b/plugins/Morpheus/javascripts/piwikHelper.js
@@ -426,49 +426,6 @@ try {
oldArc.call(this, x, y, r, sAngle, eAngle, clockwise);
};
- //--------------------------------------
- //
- // Array.reduce is not available in IE8 but used in Jqplot
- //
- //--------------------------------------
- if ('function' !== typeof Array.prototype.reduce) {
- Array.prototype.reduce = function(callback, opt_initialValue){
- 'use strict';
- if (null === this || 'undefined' === typeof this) {
- // At the moment all modern browsers, that support strict mode, have
- // native implementation of Array.prototype.reduce. For instance, IE8
- // does not support strict mode, so this check is actually useless.
- throw new TypeError(
- 'Array.prototype.reduce called on null or undefined');
- }
- if ('function' !== typeof callback) {
- throw new TypeError(callback + ' is not a function');
- }
- var index, value,
- length = this.length >>> 0,
- isValueSet = false;
- if (1 < arguments.length) {
- value = opt_initialValue;
- isValueSet = true;
- }
- for (index = 0; length > index; ++index) {
- if (this.hasOwnProperty(index)) {
- if (isValueSet) {
- value = callback(value, this[index], index, this);
- }
- else {
- value = this[index];
- isValueSet = true;
- }
- }
- }
- if (!isValueSet) {
- throw new TypeError('Reduce of empty array with no initial value');
- }
- return value;
- };
- }
-
// Fix jQuery UI dialogs scrolling when click on links with tooltips
jQuery.ui.dialog.prototype._focusTabbable = $.noop;
diff --git a/plugins/Morpheus/stylesheets/base/mixins.less b/plugins/Morpheus/stylesheets/base/mixins.less
index 88ac7d0c4d..b9e004d213 100644
--- a/plugins/Morpheus/stylesheets/base/mixins.less
+++ b/plugins/Morpheus/stylesheets/base/mixins.less
@@ -56,7 +56,5 @@
.opacity(@opacity) {
opacity: @opacity;
- // IE8 filter
- @opacity-ie: (@opacity * 100);
filter: ~"alpha(opacity=@{opacity-ie})";
} \ No newline at end of file
diff --git a/plugins/Morpheus/stylesheets/general/_utils.less b/plugins/Morpheus/stylesheets/general/_utils.less
index 804012cb21..58a9579eff 100644
--- a/plugins/Morpheus/stylesheets/general/_utils.less
+++ b/plugins/Morpheus/stylesheets/general/_utils.less
@@ -13,11 +13,6 @@ div.clear {
overflow: hidden;
}
-/* IE < 9 will use this */
-body.old-ie .ie-hide {
- display: none;
-}
-
.centerLargeDiv {
width: 850px;
margin: auto;
diff --git a/plugins/Morpheus/templates/layout.twig b/plugins/Morpheus/templates/layout.twig
index 87cb863356..ec57b81b6e 100644
--- a/plugins/Morpheus/templates/layout.twig
+++ b/plugins/Morpheus/templates/layout.twig
@@ -30,9 +30,6 @@
<![endif]-->
{% endblock %}
</head>
- <!--[if lt IE 9 ]>
- <body id="{{ bodyId|default('') }}" ng-app="app" class="old-ie {{ bodyClass|default('') }}">
- <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<body id="{{ bodyId|default('') }}" ng-app="app" class="{{ bodyClass|default('') }}">
<!--<![endif]-->