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

Allowing passing useGriddleStyles={false} #1

Open
0xdabbad00 opened this issue Feb 10, 2015 · 1 comment
Open

Allowing passing useGriddleStyles={false} #1

0xdabbad00 opened this issue Feb 10, 2015 · 1 comment

Comments

@0xdabbad00
Copy link

I need to disable the griddle styles for two reasons:

  • Mine are prettier :)
  • I use Content-Security-Policy:default-src 'self' which denies any inline style sheet setting.

For now, I have just copied griddleWithCallback.jsx to my project and added useGriddleStyles={false} to https://github.com/DynamicTyped/GriddleWithCallback/blob/master/scripts/griddleWithCallback.jsx#L190

@0xdabbad00
Copy link
Author

Just realized this can get passed through, so no change needed, but I'll leave this open just so you can consider the Content-Security-Policy issue.

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

No branches or pull requests

1 participant