fix sprite loader not working

This commit is contained in:
Chrissi2812
2020-07-08 18:39:42 +02:00
parent cc87197c0a
commit ac6ae019e7

View File

@@ -1,4 +1,3 @@
;(function(window, document) {
'use strict';
var isSvg = document.createElementNS && document.createElementNS( 'http://www.w3.org/2000/svg', 'svg' ).createSVGRect;
@@ -71,10 +70,4 @@
}
}
if (typeof exports === 'object') {
module.exports = svgSpriteInjector;
} else {
window.svgSpriteInjector = svgSpriteInjector;
}
} (window, document));
export default svgSpriteInjector;