Pegando todos os ícones Font Awesome

From Basef
Jump to: navigation, search

Entrar no Font Awesome Cheat Sheet:

http://fontawesome.io/cheatsheet/

E executar o seguinte Javascript no browser:

var icons = '';
 
$('.container div.col-md-4').each(function() {
    var textContent = this.textContent;
    var lines = textContent.split("\n");  
    icons = icons + "\n" + lines[3].trim();
});
 
icons;