Don't try and create a pseudo-range in JS, when we can just get the data from ruby
authorJohan Sørensen <johan@johansorensen.com>
Mon, 12 Oct 2009 12:20:19 +0000 (14:20 +0200)
committerJohan Sørensen <johan@johansorensen.com>
Wed, 4 Nov 2009 14:23:21 +0000 (15:23 +0100)
commitfa418f2681a8ca92acd9d16cf3e1f4fa138f31f7
tree2165dadcbef7911bfdd133c679d1f38b5a9567fe
parent82a0358ebfdc06b795c32623cc8dcf2fb1d1104e
Don't try and create a pseudo-range in JS, when we can just get the data from ruby

By calling Comment#lines.to_a we get all the lines and we don't have
to re-create the range in javascript anymore
app/views/comments/_inline_diff.html.erb
public/javascripts/application.js