Jon H.M. Chan

Results 22 comments of Jon H.M. Chan

I see - do you usually do this by year then month? Or just emulate what's currently on WordPress?

Okay, going to put this in as something we want to implement, but probably not a blocker for first release. I can see a path to doing this, it's just...

We used the Disqus migration tool that was mentioned and should have had everything moved over. Unless there are still major gaps, going to close.

@dfosco I think you're spot on, especially with your second point. I think generating a stylesheet and having dynamic styles post-render are not mutually exclusive, precisely because Descartes uses inline...

@krivinarius yes, that's exactly what I'm suggesting. I think having the base styles that are not dynamic (without using a function) would be generated and used for the initial load.

@krivinarius you may be interested to see that https://github.com/JonHMChan/descartes/blob/master/src/descartes.js#L441 has been implemented to generate the base CSS, still no JS generated since I think I may refactor how event listeners...

@jeremykohn currently there's no fallback, but that's the active discussion right now here: https://github.com/JonHMChan/descartes/issues/26. It's actually a good idea to generate a CSS fallback for performance reasons as well as...

@jeremykohn you'll be interested to see that https://github.com/JonHMChan/descartes/blob/master/src/descartes.js#L441 has been implemented to generate a CSS fallback based on what's typically calculated from the core library. The only thing that may...

Yes, this is something I've been thinking about too. I think the major things Descartes would need in order for this to work are around triggering the application of styles...

https://github.com/JonHMChan/descartes/commit/87016af23bbdc972067d5819a1e91393c39d9cd8 is the first implementation of this method. Needs some usability testing to figure out how styles in multiple files can be structured to make use of this method.