Skip to content

Instantly share code, notes, and snippets.

@scottwb
Created January 26, 2011 23:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save scottwb/797776 to your computer and use it in GitHub Desktop.
Save scottwb/797776 to your computer and use it in GitHub Desktop.
Hack to remove @charset directives from Compass-generated CSS so it will work with Jammit in Safari.
compass compile --force
sed -i -e "s/^@charset.*$//g" public/stylesheets/*.css
jammit --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment