Store offset and length in row

This commit is contained in:
Jesse van den Kieboom 2013-12-31 15:15:10 +01:00
parent 10484fd811
commit ebb289140c

View file

@ -44,7 +44,7 @@ function diff_file(file, lnstate, data)
var l = h.lines[j];
var o = String.fromCharCode(l.type);
var row = '<tr class="';
var row = '<tr data-offset="' + l.offset + '" data-length="' + l.length + '" class="';
switch (o)
{