Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Unified Diff: Source/devtools/front_end/utilities.js

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/utilities.js
diff --git a/Source/devtools/front_end/utilities.js b/Source/devtools/front_end/utilities.js
index 32c5d3b268a17a7a6a71c4a254c3cee3fbccec17..476e3568755cebcb4560b212474aa8fdfc68f933 100644
--- a/Source/devtools/front_end/utilities.js
+++ b/Source/devtools/front_end/utilities.js
@@ -1128,7 +1128,7 @@ function importScript(scriptName)
if (!xhr.responseText)
throw "empty response arrived for script '" + scriptName + "'";
var sourceURL = WebInspector.ParsedURL.completeURL(window.location.href, scriptName);
- window.eval(xhr.responseText + "\n//@ sourceURL=" + sourceURL);
+ window.eval(xhr.responseText + "\n//# sourceURL=" + sourceURL);
}
var loadScript = importScript;
« Source/devtools/front_end/ConsoleMessage.js ('K') | « Source/devtools/front_end/View.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698