diff --git a/build.js b/build.js index fdb692ea9..340c0b93b 100755 --- a/build.js +++ b/build.js @@ -417,7 +417,7 @@ * @returns {String} Returns the modified source. */ function addCommandsToHeader(source, commands) { - return source.replace(/(\/\*!\n)( \*)?( *@license[\s*]+)?( *Lo-Dash [\w.-]+)(.*)/, function() { + return source.replace(/(\/\*!\n)( \*)?( *Lo-Dash [\w.-]+)(.*)/, function() { // convert unmatched groups to empty strings var parts = _.map(slice.call(arguments, 1), function(part) { return part || ''; @@ -439,7 +439,7 @@ // add build commands to copyright/license header return ( parts[0] + - parts[1] + parts[2] + parts[3] + ' (Custom Build)' + parts[4] + '\n' + + parts[1] + parts[2] + ' (Custom Build)' + parts[3] + '\n' + parts[1] + ' Build: `lodash ' + commands.join(' ') + '`' ); }); diff --git a/build/post-compile.js b/build/post-compile.js index ac242eab2..a77a458c1 100644 --- a/build/post-compile.js +++ b/build/post-compile.js @@ -9,12 +9,11 @@ var licenseTemplate = { 'lodash': '/*!\n' + - ' @license\n' + ' Lo-Dash <%= VERSION %> lodash.com/license\n' + ' Underscore.js 1.4.3 underscorejs.org/LICENSE\n' + '*/', 'underscore': - '/*! @license Underscore.js <%= VERSION %> underscorejs.org/LICENSE */' + '/*! Underscore.js <%= VERSION %> underscorejs.org/LICENSE */' }; /*--------------------------------------------------------------------------*/ diff --git a/lodash.min.js b/lodash.min.js index a244e7320..bf4f058de 100644 --- a/lodash.min.js +++ b/lodash.min.js @@ -1,5 +1,4 @@ /*! - @license Lo-Dash 1.0.0-rc.2 lodash.com/license Underscore.js 1.4.3 underscorejs.org/LICENSE */ diff --git a/lodash.underscore.min.js b/lodash.underscore.min.js index cc82ef03e..9f5923240 100644 --- a/lodash.underscore.min.js +++ b/lodash.underscore.min.js @@ -1,5 +1,4 @@ /*! - @license Lo-Dash 1.0.0-rc.2 (Custom Build) lodash.com/license Build: `lodash underscore -m -o ./lodash.underscore.min.js` Underscore.js 1.4.3 underscorejs.org/LICENSE