Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

//@ sourceURL changing to //# sourceURL #4

Open
paulirish opened this issue May 26, 2013 · 1 comment
Open

//@ sourceURL changing to //# sourceURL #4

paulirish opened this issue May 26, 2013 · 1 comment

Comments

@paulirish
Copy link
Member

it's changed in the spec to work around an IE bug:
https://groups.google.com/forum/m/?fromgroups#!topic/mozilla.dev.js-sourcemap/4uo7Z5nTfUY

In the meantime you can output sourceURL in both styles, but all devtools are picking up the latest version (with legacy support) and may phase out //@ in the future.

(The change was necessitated mostly for the sourcemap directive.)

@cramforce
Copy link
Contributor

I'd even happier to add a second line if dev tools would stop displaying them in the source view. That would saving the changed files back work much better. I might have filed a bug for it, but maybe not :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants