0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/doc
Tristian Flanagan dfee4e3712 module: fix column offsets in errors
Because Node modules are wrapped, errors on the first line
of a file leak the wrapper to the user and report the wrong
column number. This commit adds a line break to the module
wrapper so that the first line is treated the same as all
other lines. To compensate for the additional line, a line
offset of -1 is also applied to errors.

Fixes: https://github.com/nodejs/node/issues/2860
PR-URL: https://github.com/nodejs/node/pull/2867
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-11-20 16:26:24 -05:00
..
api module: fix column offsets in errors 2015-11-20 16:26:24 -05:00
api_assets doc: made code spans more visible in the API docs 2015-10-29 22:57:03 +01:00
tsc-meetings doc: add TSC meeting minutes 2015-10-21 2015-10-26 09:36:42 -07:00
full-white-stripe.jpg installer: fix installers for node.js rename 2015-08-23 17:59:43 -04:00
node.1 doc: update V8 options in man page 2015-10-14 11:20:35 -07:00
osx_installer_logo.png installer: fix installers for node.js rename 2015-08-23 17:59:43 -04:00
releases.md doc: jenkins-iojs.nodesource.com -> ci.nodejs.org 2015-09-24 00:20:53 +02:00
template.html node: rename from io.js to node 2015-08-23 17:59:43 -04:00
thin-white-stripe.jpg installer: fix installers for node.js rename 2015-08-23 17:59:43 -04:00