Skip to content

Commit

Permalink
Add fallback null
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Jun 25, 2024
1 parent 6e3eef5 commit dadf256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source-map.bs
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ run the following steps:
1. Let |comment| be the content of |token|.
1. If [=match a Source Map URL in a comment|matching a Source Map URL in=]
|comment| returns a [=string=], return it.
1. Return null.

To <dfn export>extract a Source Map URL from JavaScript without parsing</dfn> a [=string=] |source|,
run the following steps:
Expand Down

0 comments on commit dadf256

Please sign in to comment.