flot
Advanced tools
Comparing version 3.2.3 to 3.2.4
{ | ||
"name": "flot", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"main": "dist/es5/jquery.flot.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -116,7 +116,12 @@ /** ## jquery.flot.composeImages.js | ||
for (var i = 0; i < styleSheets.length; i++) { | ||
// in Chrome, the external CSS files are empty when the page is directly loaded from disk | ||
var rules = styleSheets[i].cssRules || []; | ||
for (var j = 0; j < rules.length; j++) { | ||
var rule = rules[j]; | ||
rulesList.push(rule.cssText); | ||
// CORS requests for style sheets throw and an exception on Chrome > 64 | ||
try { | ||
// in Chrome, the external CSS files are empty when the page is directly loaded from disk | ||
var rules = styleSheets[i].cssRules || []; | ||
for (var j = 0; j < rules.length; j++) { | ||
var rule = rules[j]; | ||
rulesList.push(rule.cssText); | ||
} | ||
} catch (e) { | ||
console.log('Failed to get some css rules'); | ||
} | ||
@@ -123,0 +128,0 @@ } |
Sorry, the diff of this file is too big to display
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
978900
19424