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

Support for inline stylesheets and @imports #6

Open
juntalis opened this issue Apr 18, 2012 · 0 comments
Open

Support for inline stylesheets and @imports #6

juntalis opened this issue Apr 18, 2012 · 0 comments

Comments

@juntalis
Copy link

This shouldn't really be an issue, but since github doesn't have support for feature requests:

Around the beginning of the month, I started working on adding additional functionality to helium to provide support for inline stylesheets and for resolving and processing statements like:

@import url(somefolder/another_stylesheet.css);

Unfortunately, I ran into an issue with the ajax call being pre-maturely aborting and returning blank (almost like how it would if you were attempting an unauthorized cross-domain request), and then I ended up getting too busy with work stuff to return to it. Anyways, I figured if you were interested in that functionality and had time, I'd provide what I've written thus far, since it's just been sitting in my workspace for a few weeks now. If you don't have time but are interested in the functionality, I'll probably get back around to it when things at work start to calm down.

Anyways, I've pushed what I have so far over at my fork. I didn't want to mess up the indentations again, so I wrote it in a new file as a wrapper around the existing helium object, allowing it to be loaded as:

<script src="js/helium.js" type="text/javascript"></script>
<script src="js/helium.additional.js" type="text/javascript"></script>
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