Nice! +watch +use :-) On Jul 10, 11:57 pm, Adam Hooper <adam.hoo...@gmail.com> wrote: > I've released a new Rails plugin. It is used in production (though the > Sass 2.2.0 code is new today), and like Haml, it really makes life > easier. > > From the release notes: > > HTML namespacing automatically annotates your HTML partials with > special class attributes, and it lets you write Sass files with rules > automatically scoped to those classes. Should you feel the need, you > can even scope JavaScript files to those classes. > > How? By using parallel directory structures. In your Rails framework, > you can create a convention to tie the following files together > automatically: > > * app/views/foos/_foo.html.haml: specifies the HTML > * app/stylesheets/views/foos/_foo.sass: specifies the CSS > * app/javascripts/views/foos/_foo.js: specifies the JavaScript > > Release notes:http://adamhooper.com/eng/articles/6 > Project page:http://github.com/adamh/html_namespacing > > -- > My Website:http://adamhooper.com > My Blog:http://adamhooper.com/blog
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---