Sha256: 3ee80f85bc3218047f6689297dec1736843f9fa69921cecaa83d800645e14335

Contents?: true

Size: 186 Bytes

Versions: 13

Compression:

Stored size: 186 Bytes

Contents

var selector = "#rostra_answer_<%= @answer.id%> .vote_wrapper";
$(selector).replaceWith('<%= escape_javascript(render(partial: 'rostra/shared/votes', locals: {resource: @answer})) %>');

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rostra-0.2.1 app/views/rostra/answers/vote.js.erb
rostra-0.2.0 app/views/rostra/answers/vote.js.erb
rostra-0.1.26 app/views/rostra/answers/vote.js.erb
rostra-0.1.25 app/views/rostra/answers/vote.js.erb
rostra-0.1.24 app/views/rostra/answers/vote.js.erb
rostra-0.1.23 app/views/rostra/answers/vote.js.erb
rostra-0.1.22 app/views/rostra/answers/vote.js.erb
rostra-0.1.21 app/views/rostra/answers/vote.js.erb
rostra-0.1.20 app/views/rostra/answers/vote.js.erb
rostra-0.1.19 app/views/rostra/answers/vote.js.erb
rostra-0.1.18 app/views/rostra/answers/vote.js.erb
rostra-0.1.17 app/views/rostra/answers/vote.js.erb
rostra-0.1.16 app/views/rostra/answers/vote.js.erb