Async load svg-sprites
Inspired by http://osvaldas.info/caching-svg-sprite-in-localstorage
Just simply call
svgSpriteInjector('sprite.svg');
svgSpriteInjector('sprite.svg', {
revision: 1 // Revision identifier
});
svgSpriteInjector(document.body);
<body data-svg-sprite="sprite.svg" data-svg-sprite-revision="1">
<div></div>
</body>
For combine svg files into one with elements use gulp-svgstore or grunt-svgstore
Copyright © 2015 Bogdan Chadkin