fix sprite loader not working
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
;(function(window, document) {
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var isSvg = document.createElementNS && document.createElementNS( 'http://www.w3.org/2000/svg', 'svg' ).createSVGRect;
|
var isSvg = document.createElementNS && document.createElementNS( 'http://www.w3.org/2000/svg', 'svg' ).createSVGRect;
|
||||||
@@ -71,10 +70,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof exports === 'object') {
|
export default svgSpriteInjector;
|
||||||
module.exports = svgSpriteInjector;
|
|
||||||
} else {
|
|
||||||
window.svgSpriteInjector = svgSpriteInjector;
|
|
||||||
}
|
|
||||||
|
|
||||||
} (window, document));
|
|
||||||
|
|||||||
Reference in New Issue
Block a user