fix line endings and update build 3

This commit is contained in:
mourner 2011-12-12 22:21:20 +02:00
parent 709f9ae84a
commit b523a23bb5

View File

@ -1,9 +1,10 @@
var build = require('./build/build.js'), var build = require('./build/build.js'),
lint = require('./build/hint.js'); lint = require('./build/hint.js');
var COPYRIGHT = "/*\r\n Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin\r\n" + var crlf = '\r\n',
" Leaflet is a modern open-source JavaScript library for interactive maps.\n" + COPYRIGHT = '/*' + crlf + ' Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin' + crlf +
" http://leaflet.cloudmade.com\r\n*/\r\n"; ' Leaflet is a modern open-source JavaScript library for interactive maps.' + crlf +
' http://leaflet.cloudmade.com' + crlf + '*/' + crlf;
desc('Check Leaflet source for errors with JSHint'); desc('Check Leaflet source for errors with JSHint');
task('lint', function () { task('lint', function () {