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

Runtime parsing #6

Open
2 tasks done
ebryn opened this issue Jul 27, 2015 · 4 comments
Open
2 tasks done

Runtime parsing #6

ebryn opened this issue Jul 27, 2015 · 4 comments
Assignees

Comments

@ebryn
Copy link
Member

ebryn commented Jul 27, 2015

Prius should be usable purely at runtime via a <script> include and special <link> tags that will handle the loading/parsing of CSS

TODOs:

  • Convert our dependencies to ES6 so we can include the parser at runtime
  • Refactor tests to utilize runtime rather than Babel transforms
@mmun
Copy link
Contributor

mmun commented Jul 27, 2015

:+100: The elephant in the room is that using AJAX means you might have to deal with CORS. Is that a viable go-to-market strategy?

@ebryn
Copy link
Member Author

ebryn commented Jul 27, 2015

Since less.js basically does the same thing I think that is fine. There is no mechanism AFAIK for reading the source of an external stylesheet that has been loaded from another domain.

This approach is one I want to support but I expect most people will use the hybrid build/runtime setup.

@mmun
Copy link
Contributor

mmun commented Jul 27, 2015

Oh sweet. Nice find re: less.js

@ebryn
Copy link
Member Author

ebryn commented Aug 11, 2015

Completing these tasks will also unblock #10

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

3 participants