Last active
September 29, 2016 10:37
-
-
Save tarex/9e892938a9127e7c40687630e83f11a5 to your computer and use it in GitHub Desktop.
Revisions
-
tarex revised this gist
Sep 29, 2016 . 1 changed file with 6 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ var all = []; jQuery('#icons section').each(function(index, section) { var id = jQuery(this).attr('id'); jQuery('#'+ id + ' a').each(function(index, iconrow) { all.push({ name: jQuery(this).text().replace('Example of','').replace(/^\s+/g, ""), className: jQuery(this).children('i').attr('class') }); }); }); console.log(all); -
tarex revised this gist
Sep 29, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,6 @@ jQuery('#icons section').each(function(index, section) { jQuery('#'+ id + ' .fa').each(function(index, iconrow) { all.push(jQuery(iconrow).attr('class')); }); }); console.log(JSON.stringify(all)); -
tarex created this gist
Sep 29, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ var all = []; jQuery('#icons section').each(function(index, section) { var id = jQuery(this).attr('id'); jQuery('#'+ id + ' .fa').each(function(index, iconrow) { all.push(jQuery(iconrow).attr('class')); }); });