Sha256: 7e4a143d07ea5035f9a0bd1a50d9f46a070922bad3ecf9b5254c8d4bd0f91cb1

Contents?: true

Size: 194 Bytes

Versions: 13

Compression:

Stored size: 194 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

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