So great users of HAML, how do you go about doing nested loops in
javascript filters?
- @coords.each do |key, list|
- list.each do |coord|
= "map.addOverlay(new GMarker(new GLatLng(#{coord[:lat]}, #{coord
[:long]} %>), #{key}MarkerOptions));"
= "bounds.extend(new GLatLng(#{coord[:lat]}, #{coord[:long]}));"
On Jul 27, 1:59 pm, Ron Evans <
ron.ev...@gmail.com> wrote:
> Yes, so far we have been doing the views in HAML... which is really
> quite cool if you have not used it.
>
> On Mon, Jul 27, 2009 at 1:40 PM, Brian Miller<
brimi...@gmail.com> wrote:
>
> > Are we doing HAML or erb for the views? I've been lazy and just doing
> > erb, but I noticed the views for the pages are done in HAML.
>
> > Brian
>
> --
> Ron Evans
>
310-597-1013
>
ron.ev...@gmail.com