Y
Hacker News
new
|
ask
|
show
|
jobs
by
bgrins
4812 days ago
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/
.
2 comments
goodside
4812 days ago
Beautiful solution -- line number links work and everything. You've just made my day.
link
ntaylor
4812 days ago
This is brilliant!
link