diff --git a/CHANGELOG b/CHANGELOG index 4ed8de2..4b8dc13 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v0.2.0: + date: 2013-04-08 + changes: + - Dont normalize separator to allow user to set LF even on a Windows environment. v0.1.3: date: 2013-02-22 changes: diff --git a/README.md b/README.md index 5ce4ca4..a9e5f27 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Task targets, files and options may be specified according to the grunt [Configu #### separator Type: `String` -Default: linefeed +Default: `grunt.util.linefeed` Concatenated files will be joined on this string. If you're post-processing concatenated JavaScript files with a minifier, you may need to use a semicolon `';'` as the separator. @@ -218,6 +218,7 @@ grunt.initConfig({ ## Release History + * 2013-04-07   v0.2.0   Dont normalize separator to allow user to set LF even on a Windows environment. * 2013-02-21   v0.1.3   Support footer option. * 2013-02-14   v0.1.2   First official release for Grunt 0.4.0. * 2013-01-17   v0.1.2rc6   Updating grunt/gruntplugin dependencies to rc6. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. @@ -229,4 +230,4 @@ grunt.initConfig({ Task submitted by ["Cowboy" Ben Alman](http://benalman.com/) -*This file was generated on Fri Feb 22 2013 09:34:22.* +*This file was generated on Mon Apr 08 2013 09:20:19.* diff --git a/docs/concat-options.md b/docs/concat-options.md index 1bfa9df..a1792a5 100644 --- a/docs/concat-options.md +++ b/docs/concat-options.md @@ -2,7 +2,7 @@ ## separator Type: `String` -Default: linefeed +Default: `grunt.util.linefeed` Concatenated files will be joined on this string. If you're post-processing concatenated JavaScript files with a minifier, you may need to use a semicolon `';'` as the separator. diff --git a/package.json b/package.json index 5ba928a..699bd66 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-contrib-concat", "description": "Concatenate files.", - "version": "0.1.3", + "version": "0.2.0", "homepage": "https://github.com/gruntjs/grunt-contrib-concat", "author": { "name": "Grunt Team", diff --git a/tasks/concat.js b/tasks/concat.js index 54865c7..32c6b7e 100644 --- a/tasks/concat.js +++ b/tasks/concat.js @@ -54,7 +54,7 @@ module.exports = function(grunt) { src = comment.stripBanner(src, options.stripBanners); } return src; - }).join(grunt.util.normalizelf(options.separator)) + footer; + }).join(options.separator) + footer; // Write the destination file. grunt.file.write(f.dest, src);