Relates :
|
//@sourceURL (and the newer //#sourceURL) directive comment allows a name to associated with the script being evaluated. This helps debugging eval, Function code that is unnamed. Nashorn has 'load' from object with 'name' and 'script' properties. But @sourceURL is supported by other tools/implementations like firebug, v8. See also: http://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/ https://bugzilla.mozilla.org/show_bug.cgi?id=583083 https://developers.google.com/chrome-developer-tools/docs/javascript-debugging http://updates.html5rocks.com/2013/06/sourceMappingURL-and-sourceURL-syntax-changed