Sha256: fc43b7b392846ac529afbbbad67a6e54521c1abbed643cb91c593fc8262b30ed

Contents?: true

Size: 189 Bytes

Versions: 28

Compression:

Stored size: 189 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

28 entries across 28 versions & 1 rubygems

Version Path
rostra-0.1.15 app/views/rostra/answers/vote.js.erb
rostra-0.1.14 app/views/rostra/answers/vote.js.erb
rostra-0.1.13 app/views/rostra/answers/vote.js.erb
rostra-0.1.12 app/views/rostra/answers/vote.js.erb
rostra-0.1.10 app/views/rostra/answers/vote.js.erb
rostra-0.1.9 app/views/rostra/answers/vote.js.erb
rostra-0.1.8 app/views/rostra/answers/vote.js.erb
rostra-0.1.7 app/views/rostra/answers/vote.js.erb
rostra-0.1.6 app/views/rostra/answers/vote.js.erb
rostra-0.1.5 app/views/rostra/answers/vote.js.erb
rostra-0.1.4 app/views/rostra/answers/vote.js.erb
rostra-0.1.3 app/views/rostra/answers/vote.js.erb
rostra-0.1.2 app/views/rostra/answers/vote.js.erb
rostra-0.1.1 app/views/rostra/answers/vote.js.erb
rostra-0.0.17 app/views/rostra/answers/vote.js.erb
rostra-0.0.16 app/views/rostra/answers/vote.js.erb
rostra-0.0.15 app/views/rostra/answers/vote.js.erb
rostra-0.0.14 app/views/rostra/answers/vote.js.erb
rostra-0.0.13 app/views/rostra/answers/vote.js.erb
rostra-0.0.12 app/views/rostra/answers/vote.js.erb