Created
February 15, 2017 18:31
-
-
Save ioncodes/0bd2ff81ae5a0a0948bd44d8362dc72d to your computer and use it in GitHub Desktop.
scrapes the octicons from https://octicons.github.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var svg = document.getElementsByTagName('LI'); | |
var names = []; | |
for(var i = 0; i < svg.length; i++) { | |
names.push(svg[i].getAttribute('data-name')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment