Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

JavaScript Warning in Firefox 27 for source mapping already set in AngularJS files #17

Closed
smartiniOnGitHub opened this issue Mar 4, 2014 · 2 comments

Comments

@smartiniOnGitHub
Copy link
Owner

AngularJS minified files (and only them) already have inside the line defining source mappings, like this:
//# sourceMappingURL=angular.min.js.map
at the and of the file.

To remove the error, I could remove that line in any minified js file but this is error prone, and due to licensing terms I don't think it's a great choice.
So, try from the Grails side (in the plugin) if there is something to do.

To test, run the plugin test webapp and open the Firefox Console.

@smartiniOnGitHub
Copy link
Owner Author

Just seen that this is a bug in Firefox 27, anyway this is only a warning :-) ...
Some info:
https://bugzilla.mozilla.org/show_bug.cgi?id=925614
http://stackoverflow.com/questions/21759662/file-is-being-assigned-a-sourcemappingurl-but-already-has-one

So it's safe to close it.

@trajano
Copy link

trajano commented Jun 26, 2014

This also occurs on Firefox 28 and 30.

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