samthor/scoped

Example in README not working?

JoshMcCullough opened this issue · 3 comments

I cannot seem to get this to work (tried Firefox and Chrome), using the same example as in the README: https://jsfiddle.net/2urqv98y/1/

Thoughts?

Hmm, turns out this is probably a security restriction as the script is trying to do weird things to your style tags (a feature).

I'll update the README saying you need to inline the code / host it locally.

I've updated the README. Let me know if this solves your issue.

There's not really a good way to provide a warning aside in the README.

Gotcha, I'll give it a try!