Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add png icon support for browsers that don't support svg files #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ernoma
Copy link
Contributor

@ernoma ernoma commented Sep 15, 2013

The pull request includes changes suggested by @juyrjola (ernoma@692bb05). As @tuukka requested, there is now the icon task to generate png icons from svg icons only if there has been changes in the images directory. This might look a bit hack but it works well and maybe in future grunt will include a good way to do this (see: gruntjs/grunt#851). Also, as @tuukka requested the class="citynavicon-myicon" is only applied after page has been created when iconprovider.modify_img_elements() is called. Icons now correctly show on Windows 8 phone. Tested with Nokia Lumia 520.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant