@irojs/iro-core
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1040,3 +1040,3 @@ // Some regular expressions for rgb() and hsl() Colors are borrowed from tinyColor | ||
// So it only needs to be called once | ||
var BASE_ELEMENTS = document.getElementsByTagName('base'); | ||
var BASE_ELEMENTS; | ||
/** | ||
@@ -1056,3 +1056,4 @@ * @desc Resolve an SVG reference URL | ||
function resolveSvgUrl(url) { | ||
// Sniff useragent string to check if the user is running Safari | ||
if (!BASE_ELEMENTS) { BASE_ELEMENTS = document.getElementsByTagName('base'); } // Sniff useragent string to check if the user is running Safari | ||
var ua = window.navigator.userAgent; | ||
@@ -1059,0 +1060,0 @@ var isSafari = /^((?!chrome|android).)*safari/i.test(ua); |
@@ -1040,3 +1040,3 @@ // Some regular expressions for rgb() and hsl() Colors are borrowed from tinyColor | ||
// So it only needs to be called once | ||
var BASE_ELEMENTS = document.getElementsByTagName('base'); | ||
var BASE_ELEMENTS; | ||
/** | ||
@@ -1056,3 +1056,4 @@ * @desc Resolve an SVG reference URL | ||
function resolveSvgUrl(url) { | ||
// Sniff useragent string to check if the user is running Safari | ||
if (!BASE_ELEMENTS) { BASE_ELEMENTS = document.getElementsByTagName('base'); } // Sniff useragent string to check if the user is running Safari | ||
var ua = window.navigator.userAgent; | ||
@@ -1059,0 +1060,0 @@ var isSafari = /^((?!chrome|android).)*safari/i.test(ua); |
@@ -1045,3 +1045,3 @@ (function (global, factory) { | ||
// So it only needs to be called once | ||
var BASE_ELEMENTS = document.getElementsByTagName('base'); | ||
var BASE_ELEMENTS; | ||
/** | ||
@@ -1061,3 +1061,4 @@ * @desc Resolve an SVG reference URL | ||
function resolveSvgUrl(url) { | ||
// Sniff useragent string to check if the user is running Safari | ||
if (!BASE_ELEMENTS) { BASE_ELEMENTS = document.getElementsByTagName('base'); } // Sniff useragent string to check if the user is running Safari | ||
var ua = window.navigator.userAgent; | ||
@@ -1064,0 +1065,0 @@ var isSafari = /^((?!chrome|android).)*safari/i.test(ua); |
{ | ||
"name": "@irojs/iro-core", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Core functionality for iro.js", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
305483