Hacker News new | ask | show | jobs
by sharkbrainguy 5669 days ago
http://keithmajhor.pastebin.com/xvgVAKve

removed the implicit global

1 comments

It won't work with that. I'm replacing the (implicit) global window.css with a closure the first time it's invoked. Your modification will cause future css sections to create their own <style> tags even if the they reference the same selectors.

Perhaps this is clearer: http://keithmajhor.pastebin.com/5KA7Ecn0

ah, I see I was reading completely wrong