- js = escape_javascript(
- render(partial: 'teams/list', locals: { teams: @teams })
- )
$("#filterrific_results").html("#{js}");
- js = escape_javascript(render(partial: 'teams/list', locals: { teams: @teams }))
$("#filterrific_results").html("#{js}");

Fix line that was previously working and now causing a syntax error
Fix line that was previously working and now causing a syntax error

Not exactly sure what changed that caused this to begin throwing a syntax error, however putting the whole line together seems to fix the issue. Going to guess that updating the haml gem 2 days ago caused this. Closes #83
