fix sprite loader not working
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user