mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Fix typo that caused sourceMappingURL to be undefined in source map builds.
Former-commit-id: ff3b22a7965c15a1ae072f8e9d51009e095ec443
This commit is contained in:
@@ -304,10 +304,10 @@
|
|||||||
function closureCompile(source, mode, callback) {
|
function closureCompile(source, mode, callback) {
|
||||||
var filePath = this.filePath,
|
var filePath = this.filePath,
|
||||||
isAdvanced = mode == 'advanced',
|
isAdvanced = mode == 'advanced',
|
||||||
|
outputPath = this.outputPath,
|
||||||
isMapped = this.isMapped,
|
isMapped = this.isMapped,
|
||||||
mapPath = getMapPath(outputPath),
|
mapPath = getMapPath(outputPath),
|
||||||
options = closureOptions.slice(),
|
options = closureOptions.slice();
|
||||||
outputPath = this.outputPath;
|
|
||||||
|
|
||||||
// remove copyright header to make other modifications easier
|
// remove copyright header to make other modifications easier
|
||||||
var license = (/^(?:\s*\/\/.*\s*|\s*\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/\s*)*/.exec(source) || [''])[0];
|
var license = (/^(?:\s*\/\/.*\s*|\s*\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/\s*)*/.exec(source) || [''])[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user