[Pkg-osm-commits] [SCM] leaflet branch, master, updated. debian/0.3.1-1-16-gd1c6144

Jonas Smedegaard dr at jones.dk
Mon Jul 30 18:37:23 UTC 2012


The following commit has been merged in the master branch:
commit 1f2ac203ee933f0b9373afd2669420d9ef67e420
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Jul 30 19:56:14 2012 +0200

    Refresh patch 2001.

diff --git a/debian/patches/2001-dont_test_during_build.patch b/debian/patches/2001-dont_test_during_build.patch
index bc8f9f0..24f3e5a 100644
--- a/debian/patches/2001-dont_test_during_build.patch
+++ b/debian/patches/2001-dont_test_during_build.patch
@@ -7,17 +7,17 @@ Last-Update: 2012-02-14
 +++ b/Jakefile.js
 @@ -1,5 +1,5 @@
  var build = require('./build/build.js'),
--	lint = require('./build/hint.js');
-+	lint = null;
+-    lint = require('./build/hint.js');
++    lint = null;
  
- var crlf = '\r\n',
- 	COPYRIGHT = '/*' + crlf + ' Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin' + crlf +
+ var COPYRIGHT = '/*\n Copyright (c) 2010-2012, CloudMade, Vladimir Agafonkin\n' +
+                 ' Leaflet is an open-source JavaScript library for mobile-friendly interactive maps.\n' + 
 @@ -23,7 +23,7 @@
  });
  
  desc('Combine and compress Leaflet source files');
 -task('build', ['lint'], function (compsBase32, buildName) {
 +task('build', function (compsBase32, buildName) {
- 	var pathPart = 'dist/leaflet' + (buildName ? '-' + buildName : ''),
- 		srcPath = pathPart + '-src.js',
- 		path = pathPart + '.js';
+ 
+ 	var files = build.getFiles(compsBase32);
+ 

-- 
JavaScript library for displaying map data in web browsers



More information about the Pkg-osm-commits mailing list