From 5f59ec87c9260a08a17bfb632b2894832b08cd5f Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Wed, 12 Feb 2014 08:50:12 +0100 Subject: [PATCH] add comment to browser detection --- src/jquery.flot.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jquery.flot.js b/src/jquery.flot.js index b27886f..f3f9023 100644 --- a/src/jquery.flot.js +++ b/src/jquery.flot.js @@ -361,6 +361,9 @@ Licensed under the MIT license. c = sin.toFixed(6), // when we add them to the string transformRule; + // Detect IE7/8 to use microsofts proprietary matrix filter + // $.support.leadingWhitespace is false on IE7/8, true on other browsers and + // undefined with jQuery greater 2.0, which dropped support for IE7/8. if ($.support.leadingWhitespace !== false) { // The transform origin defaults to '50% 50%', producing