Source mapping in IE. //@ sourceURL

Geray Suinov picture Geray Suinov · Jul 30, 2013 · Viewed 7.4k times · Source

In IE doesn't work //@ sourceURL.

appLoader.loadScriptContent(doc, scriptData.data + "//@ sourceURL=" + scriptData.url );

In Another browsers it's OK. How can I change this code for working in IE ?

Answer

samyem picture samyem · Apr 17, 2014

With the latest update that came with Windows 8.1, IE11 now supports source map: https://all-markup-news.com/whats-new-in-f12-with-windows-8-1-update/ Works in Win7 as well.