Skip to content

Commit

Permalink
changed ids of line codes
Browse files Browse the repository at this point in the history
  • Loading branch information
kashif-umair committed Feb 1, 2013
1 parent 225cfa8 commit 04dbd35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gist-embed.js
Expand Up @@ -64,7 +64,6 @@ $(function(){
}
}
html = basicStructureForMultipleLines(id, lineCodes, splittedFileName);
console.log(html);
$elem.html(html);
}
else{
Expand Down Expand Up @@ -107,7 +106,7 @@ function basicStructureForMultipleLines(gistId, lineCodes, splittedFileName){
'<table cellpadding="0" cellspacing="0" class="lines highlight">' +
'<tbody><tr><td class="line-data"><pre class="line-pre">';
for(var i = 0; i < lineCodes.length; i++){
html += '<div class="line" id="file-' + splittedFileName + '-LC1">' +
html += '<div class="line" id="file-' + splittedFileName + '-LC' + (i + 1) + '">' +
lineCodes[i] + '</div>';
}
html += '</pre></td></tr></tbody></table></div></div></div></div>';
Expand Down

0 comments on commit 04dbd35

Please sign in to comment.