Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Dont normalize separator. Closes GH-20.

To allow a  user to set LF even on a Windows environment.
  • Loading branch information...
commit 2da5f3d64bb26f5f6b183f0bf0dba242b5e46e02 1 parent 3b03fbf
@shama shama authored
View
4 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:
View
5 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.*
View
2  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.
View
2  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",
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.