diff options
author | Joel Croteau <jcroteau@gmail.com> | 2014-02-25 18:25:12 -0800 |
---|---|---|
committer | Joel Croteau <jcroteau@gmail.com> | 2014-02-25 18:30:14 -0800 |
commit | a9b5784188e38eabc19f7756c55b0f01de590435 (patch) | |
tree | 842b0c2fdd3c46615076fe487835ba0789d83a88 | |
parent | 7ead20ea09f187b9c46709d299154be166d44281 (diff) |
Fix depecrated sourceMappingURL syntax
This will remove an error message about using old syntax in debug builds.
-rwxr-xr-x | tools/source-maps/sourcemapper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source-maps/sourcemapper.js b/tools/source-maps/sourcemapper.js index 06c9a227..5193b3a8 100755 --- a/tools/source-maps/sourcemapper.js +++ b/tools/source-maps/sourcemapper.js @@ -153,7 +153,7 @@ function generateMap(mappings, sourceRoot, mapFileBaseName, generatedLineOffset) function appendMappingURL(fileName, source, mapFileName) { var lastLine = source.slice(source.lastIndexOf('\n')); if (!/sourceMappingURL/.test(lastLine)) - fs.appendFileSync(fileName, '//@ sourceMappingURL=' + path.basename(mapFileName)); + fs.appendFileSync(fileName, '//# sourceMappingURL=' + path.basename(mapFileName)); } function parseArgs(args) { |