|
@ -1,7 +1,7 @@ |
|
|
(function() { |
|
|
(function() { |
|
|
|
|
|
|
|
|
// Feature detection results
|
|
|
// Feature detection results
|
|
|
const supports = {}; |
|
|
var supports = {}; |
|
|
|
|
|
|
|
|
// Detect localStorage support
|
|
|
// Detect localStorage support
|
|
|
try { |
|
|
try { |
|
@ -14,7 +14,7 @@ |
|
|
|
|
|
|
|
|
// Detect inline SVG support
|
|
|
// Detect inline SVG support
|
|
|
supports.inlineSVG = (function() { |
|
|
supports.inlineSVG = (function() { |
|
|
const div = document.createElement('div'); |
|
|
var div = document.createElement('div'); |
|
|
div.innerHTML = '<svg/>'; |
|
|
div.innerHTML = '<svg/>'; |
|
|
return ( |
|
|
return ( |
|
|
typeof SVGRect != 'undefined' |
|
|
typeof SVGRect != 'undefined' |
|
|