Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bgrins
· 13y ago · 0 comments
Here is a way to fix this:
https://gist.github.com/bgrins/5108712
. When you call `log` it will preserve the line number.
Here is a demo:
http://jsfiddle.net/bgrins/MZWtG/
.
Comments
[–]
goodside
13y ago
Beautiful solution -- line number links work and everything. You've just made my day.
[–]
ntaylor
13y ago
This is brilliant!