Sha256: f8420f2fa9a1506dd1a8d39b9e6157907f312fc974694a56a6fb201785c8b592

Contents?: true

Size: 134 Bytes

Versions: 23

Compression:

Stored size: 134 Bytes

Contents

var node = $('*[data-role="thing<%= @thing.id %>"]');
var new_node_html = '<%= j render @thing %>';

node.replaceWith(new_node_html);

Version data entries

23 entries across 8 versions & 1 rubygems

Version Path
activerecord-sortable-0.0.8 spec/dummy-3.2/app/views/things/move.js.erb
activerecord-sortable-0.0.8 spec/dummy-4.2/app/views/things/move.js.erb
activerecord-sortable-0.0.8 spec/dummy-4.1/app/views/things/move.js.erb
activerecord-sortable-0.0.8 spec/dummy-4.0/app/views/things/move.js.erb
activerecord-sortable-0.0.7 spec/dummy-4.0/app/views/things/move.js.erb
activerecord-sortable-0.0.7 spec/dummy-4.2/app/views/things/move.js.erb
activerecord-sortable-0.0.7 spec/dummy-4.1/app/views/things/move.js.erb
activerecord-sortable-0.0.7 spec/dummy-3.2/app/views/things/move.js.erb
activerecord-sortable-0.0.6 spec/dummy-3.2/app/views/things/move.js.erb
activerecord-sortable-0.0.6 spec/dummy-4.0/app/views/things/move.js.erb
activerecord-sortable-0.0.6 spec/dummy-4.1/app/views/things/move.js.erb
activerecord-sortable-0.0.6 spec/dummy-4.2/app/views/things/move.js.erb
activerecord-sortable-0.0.5 spec/dummy-3.2/app/views/things/move.js.erb
activerecord-sortable-0.0.5 spec/dummy-4.2/app/views/things/move.js.erb
activerecord-sortable-0.0.5 spec/dummy-4.1/app/views/things/move.js.erb
activerecord-sortable-0.0.5 spec/dummy-4.0/app/views/things/move.js.erb
activerecord-sortable-0.0.4 spec/dummy-3.2/app/views/things/move.js.erb
activerecord-sortable-0.0.4 spec/dummy-4.2/app/views/things/move.js.erb
activerecord-sortable-0.0.4 spec/dummy-4.1/app/views/things/move.js.erb
activerecord-sortable-0.0.4 spec/dummy-4.0/app/views/things/move.js.erb