prototypal-io / prius

A hybrid CSS preprocessor/runtime
MIT License
18 stars 0 forks source link

Runtime parsing #6

Open ebryn opened 9 years ago

ebryn commented 9 years ago

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

TODOs:

mmun commented 9 years ago

:+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 commented 9 years ago

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 commented 9 years ago

Oh sweet. Nice find re: less.js

ebryn commented 9 years ago

Completing these tasks will also unblock #10