-
Notifications
You must be signed in to change notification settings - Fork 233
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
helium.data.stylesheets is undefined #24
Comments
Browser? |
chrome firefox all get this error |
I copy a url, and click the button, redirect to the url I copied, when come back get this error |
Hmm let me take a look |
@ashepherd89 Strange, I wasn't able to replicate this before. Would it be possible to see a test case? |
Could the problem be that there are no CSS files? I have a single page site and inline the CSS, so there are no references to CSS files. Getting the same error. |
@xeraa ahh that might be it. Btw helium doesn't read inline css (since it looks for selectors and style="" on an element isn't something you select for) or style blocks declared on the page. |
@geuis yeah — I didn't find a tool that supported inlined CSS and gave up. Plus my HTML+CSS are a little over 17K gzipped, so it's probably not worth the trouble anyway ;) But nice and simple script in general :) |
@xeraa When you say "inline", do you mean this:
Or this
|
The second one; I'm not duplicating the styles, just avoiding a HTTP request (using https://github.com/kaiinui/middleman-inliner). |
I'm pretty sure I was getting the same error: --->
.,. and I'm now getting the URL list box |
cause helium.data.stylesheets.sort(); is not a function error
The text was updated successfully, but these errors were encountered: