Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #267 from jelmerdemaat/master
Browse files Browse the repository at this point in the history
Fix typo in readme.md
  • Loading branch information
scottjehl committed Jun 16, 2015
2 parents ccd372f + 90bf2bc commit 2ff995e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -132,7 +132,7 @@ Check out our example at http://filamentgroup.github.io/grunticon/example/output

If you're hosting your grunticon CSS on a different domain than your HTML, you will need to do a little extra configuration to use SVG Embedding.

1. Set the `corsEmbed` option to `true` in your gruntfile. This adds a little extra scripting to the grunticon loader so that it can make a cross-domai request.
1. Set the `corsEmbed` option to `true` in your gruntfile. This adds a little extra scripting to the grunticon loader so that it can make a cross-domain request.
2. Once that's in, change the callback at the end of your grunticon call to reference `svgLoadedCORSCallback` instead of the one listed above.
3. That might be enough, but if not, you'll need to enable cross-domain requests on the server where the CSS is hosted. Here's how that looks in Apache .htaccess for example:

Expand Down

0 comments on commit 2ff995e

Please sign in to comment.