Closed AndreMiras closed 8 years ago
Updating the FontAwesome version should be as simple as possible. Unfortunately the icon list is currently hardcoded in current iconpicker we're using. https://github.com/mjolnic/fontawesome-iconpicker/blob/1.2.0/src/js/iconpicker.js#L821 However it seems possible to update it at runtime using, the "icons" parameter of the iconpicker constructor. https://github.com/mjolnic/fontawesome-iconpicker/blob/1.2.0/README.md#available-options We could probably use it with a yaml parser to dynamically update the list depending on the FontAwesome version.
$.get('https://rawgit.com/FortAwesome/Font-Awesome/v4.6.3/src/icons.yml', function(data) { var parsed_yaml = jsyaml.load(data); // TODO: update the icons list using the parsed_yaml });
Fixed in 58f13b4.
Updating the FontAwesome version should be as simple as possible. Unfortunately the icon list is currently hardcoded in current iconpicker we're using. https://github.com/mjolnic/fontawesome-iconpicker/blob/1.2.0/src/js/iconpicker.js#L821 However it seems possible to update it at runtime using, the "icons" parameter of the iconpicker constructor. https://github.com/mjolnic/fontawesome-iconpicker/blob/1.2.0/README.md#available-options We could probably use it with a yaml parser to dynamically update the list depending on the FontAwesome version.