Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Mapping.urls property to sourcemaps #6

Open
DartBot opened this issue Jun 5, 2015 · 1 comment
Open

add Mapping.urls property to sourcemaps #6

DartBot opened this issue Jun 5, 2015 · 1 comment
Labels
type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

<img src="https://github.com/avatars/u/2049220?v=3" align="left" width="96" height="96"hspace="10"> Issue by sigmundch
Originally opened as dart-lang/sdk#13194


Bug reported by @­skybrian in the old github repo (https://github.com/dart-lang/source-maps/issues/3)

Original bug description:


It seems like you should be able to say parse(json).urls to get all the source URL's, regardless of whether it's a SingleMapping or a MultiSectionMapping. To support this, Mapping should have an abstract "urls" getter which is implemented by MultiSectionMapping to combine all the url lists from the individual mappings.

Workaround: implement this yourself; it's not that hard.


@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://github.com/avatars/u/3276024?v=3" align="left" width="48" height="48"hspace="10"> Comment by anders-sandholm


Removed Library-SourceMaps label.
Added Pkg-SourceMaps label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant