Go to Google Groups Home    StaticMatic
Documentation error

noah paessel <kno...@gmail.com>

Hi, I have been enjoying working with staticmatic for the last week.
I am new to haml & sass, but really enjoy it.

According to documentation on the website: http://staticmatic.rubyforge.org/how_to_use.html

Partials are invoked, passing local variables in named parameter, like
so:

= partial('mypartial', :locals => { :title => 'My Title' })

But I couldn't get that to work.  Instead, I just passed in a hash,
and everything worked:

= partial('mypartial', { :title => 'My Title' })

Cheers,

- Noah