- Optimization fix: Properly run code conditionally on browser check;
fixes #312 (@ianli-sc)
This commit is contained in:
2
dist/index-es.js
vendored
2
dist/index-es.js
vendored
@@ -14761,7 +14761,7 @@ function SvgCanvas(container, config) {
|
||||
|
||||
var resultList = null;
|
||||
|
||||
if (!isIE) {
|
||||
if (!isIE()) {
|
||||
if (typeof svgroot.getIntersectionList === 'function') {
|
||||
// Offset the bbox of the rubber box by the offset of the svgcontent element.
|
||||
rubberBBox.x += parseInt(svgcontent.getAttribute('x'));
|
||||
|
||||
2
dist/index-es.min.js
vendored
2
dist/index-es.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-es.min.js.map
vendored
2
dist/index-es.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.js
vendored
2
dist/index-umd.js
vendored
@@ -14767,7 +14767,7 @@
|
||||
|
||||
var resultList = null;
|
||||
|
||||
if (!isIE) {
|
||||
if (!isIE()) {
|
||||
if (typeof svgroot.getIntersectionList === 'function') {
|
||||
// Offset the bbox of the rubber box by the offset of the svgcontent element.
|
||||
rubberBBox.x += parseInt(svgcontent.getAttribute('x'));
|
||||
|
||||
2
dist/index-umd.min.js
vendored
2
dist/index-umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.min.js.map
vendored
2
dist/index-umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/svgcanvas-iife.js
vendored
2
dist/svgcanvas-iife.js
vendored
@@ -14539,7 +14539,7 @@ var SvgCanvas = (function () {
|
||||
|
||||
var resultList = null;
|
||||
|
||||
if (!isIE) {
|
||||
if (!isIE()) {
|
||||
if (typeof svgroot.getIntersectionList === 'function') {
|
||||
// Offset the bbox of the rubber box by the offset of the svgcontent element.
|
||||
rubberBBox.x += parseInt(svgcontent.getAttribute('x'));
|
||||
|
||||
2
dist/svgcanvas-iife.min.js
vendored
2
dist/svgcanvas-iife.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/svgcanvas-iife.min.js.map
vendored
2
dist/svgcanvas-iife.min.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user