Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
beeb9e2e
Commit
beeb9e2e
authored
Mar 24, 2017
by
chriseth
Committed by
GitHub
Mar 24, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #220 from ethereum/fixUnknownSourceLocation
fix unknown source location
parents
5118b614
2ea09254
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sourceMappingDecoder.js
src/util/sourceMappingDecoder.js
+3
-3
No files found.
src/util/sourceMappingDecoder.js
View file @
beeb9e2e
...
...
@@ -151,13 +151,13 @@ function atIndex (index, mapping) {
continue
}
current
=
current
.
split
(
':'
)
if
(
ret
.
start
===
undefined
&&
current
[
0
]
&&
current
[
0
].
length
)
{
if
(
ret
.
start
===
undefined
&&
current
[
0
]
&&
current
[
0
]
!==
'-1'
&&
current
[
0
]
.
length
)
{
ret
.
start
=
parseInt
(
current
[
0
])
}
if
(
ret
.
length
===
undefined
&&
current
[
1
]
&&
current
[
1
].
length
)
{
if
(
ret
.
length
===
undefined
&&
current
[
1
]
&&
current
[
1
]
!==
'-1'
&&
current
[
1
]
.
length
)
{
ret
.
length
=
parseInt
(
current
[
1
])
}
if
(
ret
.
file
===
undefined
&&
current
[
2
]
&&
current
[
2
].
length
)
{
if
(
ret
.
file
===
undefined
&&
current
[
2
]
&&
current
[
2
]
!==
'-1'
&&
current
[
2
]
.
length
)
{
ret
.
file
=
parseInt
(
current
[
2
])
}
if
(
ret
.
jump
===
undefined
&&
current
[
3
]
&&
current
[
3
].
length
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment