index.js.haml 262 Bytes
Newer Older
1 2 3 4 5 6 7
- if params[:replace]
  :plain
    ProjectsList.replace(#{@projects.count}, "#{escape_javascript(render(:partial => 'projects/tile'))}");
- else 
  :plain
    ProjectsList.append(#{@projects.count}, "#{escape_javascript(render(:partial => 'projects/tile'))}");