Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Source Maps is a way, that allows a developer to debug minified JavaScript files in HTML5. More information can be found here: http://net.tutsplus.com/tutorials/tools-and-tips/source-maps-101/.

While we're on it I recommend replacing YUI Compressor we're using currently JS minification with Google Closure Compiler, that is not only a modern JavaScript minifier, created and regularly improved by Google, but also a tool, that can generate Source Maps for minified JavaScript files as well.

P.S.

We've recently (see 

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.
) upgraded jQuery to 1.9.1 version, which has support for Source Maps, but we haven't added a source map, which results in following error in each reqest (in Google Chrome):

GET .../core/admin_templates/js/jquery/jquery.min.map 404 (Not Found)

I think we need to put that file in there as well (both Front-End and Admin Console).

Related Tasks

  • No labels