xxq260310 / css3-mediaqueries-js

Automatically exported from code.google.com/p/css3-mediaqueries-js
0 stars 0 forks source link

Added support for imports and API exposed to notify when dynamic changes occurs #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In my project i need to load some css dynamically.
2. I use createImport over a Style.sheet element as a workaround
3. I need to process the imports
4. I need a way to notify changes and refresh cache

What I've done is:
* process the imports at the same point as links.
* create a new object to store the result opposite to use the element
* expose a globla object "cssMediaQueries" with a method "refresh"

Please find attached the modifications.
Nice job, Thank you

Original issue reported on code.google.com by Gustavo....@gmail.com on 3 Sep 2013 at 2:49

Attachments:

GoogleCodeExporter commented 8 years ago
Back from the dead... There is a new version of the script. It has some CSS 
parsing and processing improvements. If you're still using it, or would like to 
try again, could you confirm that this issue is solved or not?

Original comment by wou...@dynora.nl on 4 Apr 2014 at 11:46