Skip to content

Commit

Permalink
Inverting line/columns
Browse files Browse the repository at this point in the history
  • Loading branch information
yurydelendik committed May 11, 2017
1 parent 203e8bd commit 7c2ee36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ module.exports = function (txt, opt) {

map.addMapping({
generated: {
line: offset,
column: 0
line: 1,
column: offset
},
source: file,
original: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "txt2map4wasm",
"version": "1.0.3",
"version": "1.1.0",
"description": "Translates wasm text source map to JSON map",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7c2ee36

Please sign in to comment.