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

jQuery source map is missing #1818

Closed
iwyg opened this issue Sep 16, 2013 · 10 comments
Closed

jQuery source map is missing #1818

iwyg opened this issue Sep 16, 2013 · 10 comments

Comments

@iwyg
Copy link
Contributor

iwyg commented Sep 16, 2013

Chrome tries to get the sourcemap for the jquery 2.0.3 lib resulting in an 404 response.
The sourcemap can be found here: http://code.jquery.com/jquery-2.0.3.min.map

@nilshoerrmann
Copy link
Contributor

What. Is. A. Source. Map?

@iwyg
Copy link
Contributor Author

iwyg commented Sep 16, 2013

@designermonkey
Copy link
Member

This is only an error when you have the console open, it doesn't affect normal site operation. It annoys the hell out of me, but you don't really need the source map.

@iwyg
Copy link
Contributor Author

iwyg commented Sep 16, 2013

It's useful for debugging though. If we don't need it, why not remove it from the jquery source?

@brendo
Copy link
Member

brendo commented Sep 16, 2013

Thanks. I'll add it :)

brendo added a commit that referenced this issue Sep 16, 2013
@brendo brendo closed this as completed Sep 16, 2013
@nilshoerrmann
Copy link
Contributor

What's the advantage of having a source map over using the uncompressed source?

@iwyg
Copy link
Contributor Author

iwyg commented Sep 16, 2013

client gets the minified file while you can still debug the full source.

@nilshoerrmann
Copy link
Contributor

So it's not loaded by default, right?

@iwyg
Copy link
Contributor Author

iwyg commented Sep 16, 2013

yep. loads when you open the console

@nilshoerrmann
Copy link
Contributor

Thanks.

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

No branches or pull requests

4 participants