fix line endings and update build
This commit is contained in:
parent
b3e5b42675
commit
1d945e98d9
@ -1,9 +1,9 @@
|
||||
var build = require('./build/build.js'),
|
||||
lint = require('./build/hint.js');
|
||||
|
||||
var COPYRIGHT = "/*\n Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin\n" +
|
||||
var COPYRIGHT = "/*\r\n Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin\n" +
|
||||
" Leaflet is a modern open-source JavaScript library for interactive maps.\n" +
|
||||
" http://leaflet.cloudmade.com\n*/\n";
|
||||
" http://leaflet.cloudmade.com\r\n*/\r\n";
|
||||
|
||||
desc('Check Leaflet source for errors with JSHint');
|
||||
task('lint', function () {
|
||||
|
@ -53,7 +53,7 @@ exports.uglify = function (code) {
|
||||
exports.combineFiles = function (files) {
|
||||
var content = '';
|
||||
for (var i = 0, len = files.length; i < len; i++) {
|
||||
content += fs.readFileSync(files[i], 'utf8') + '\n\n';
|
||||
content += fs.readFileSync(files[i], 'utf8') + '\r\n\r\n';
|
||||
}
|
||||
return content;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user