Hey folks, Along with the major Haml error overhauling I've been doing, I've been poking around a little with the Sass errors as well. Most of them seem pretty okay (if you disagree with this, let me know), but one thing that's often been annoying is how the error handling works when Sass is used as a plugin. If you've got a syntax error in your document, instead of your CSS document Sass renders a big old comment explaining what's going wrong. While reporting the error is handy, it sucks that you have to open up your CSS file to see it.
I've just added a bit to the end of the error file that should make debugging Sass errors easier. The file now has a single CSS rule that sets the content attribute of body:before to the error message. Thus it'll appear at the top of the page, and there won't be any need to go to the CSS file. This is available right now in the master branch of git://github.com/nex3/haml.git. It'll be released soon, in version 2.0 (which is just around the corner! Ooh, exciting!). Enjoy! - Nathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
