Use # instead of @ for sourceURLs and sourceMappingURLs.

Former-commit-id: ba78f92591c0cf28dba4c7a93a49f6e0f7ebb305
This commit is contained in:
John-David Dalton
2013-07-03 00:13:17 -07:00
parent 2d5f045c29
commit 112cdb4842
3 changed files with 3 additions and 4 deletions

View File

@@ -5521,7 +5521,7 @@
// avoid issues with Narwhal, IE conditional compilation, and the JS engine
// embedded in Adobe products.
// http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl
var sourceURL = '\n/*\n//@ sourceURL=' + (options.sourceURL || '/lodash/template/source[' + (templateCounter++) + ']') + '\n*/';
var sourceURL = '\n/*\n//# sourceURL=' + (options.sourceURL || '/lodash/template/source[' + (templateCounter++) + ']') + '\n*/';
try {
var result = Function(importsKeys, 'return ' + source + sourceURL).apply(undefined, importsValues);