[Pkg-javascript-commits] [leaflet-markercluster] 37/49: Tidy and shrink patch 2001: No need to strip unused function.

Jonas Smedegaard js at moszumanska.debian.org
Tue Jan 28 17:54:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet-markercluster.

commit 8205bc0bcdbd222ef8b366e916d6fe4a345555e1
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Nov 4 18:22:25 2013 +0100

    Tidy and shrink patch 2001: No need to strip unused function.
---
 debian/patches/2001-dont-run-jshint-checks.patch | 28 +++++-------------------
 1 file changed, 6 insertions(+), 22 deletions(-)

diff --git a/debian/patches/2001-dont-run-jshint-checks.patch b/debian/patches/2001-dont-run-jshint-checks.patch
index a10905c..0e36273 100644
--- a/debian/patches/2001-dont-run-jshint-checks.patch
+++ b/debian/patches/2001-dont-run-jshint-checks.patch
@@ -7,37 +7,21 @@ Origin: vendor
 Forwarded: not-needed
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- leaflet-markercluster.orig/Jakefile.js
-+++ leaflet-markercluster/Jakefile.js
-@@ -1,29 +1,11 @@
+--- a/Jakefile.js
++++ b/Jakefile.js
+@@ -1,5 +1,4 @@
 -var build = require('./build/build.js'),
 -    lint = require('./build/hint.js');
 +var build = require('./build/build.js');
  
  var COPYRIGHT = '/*\n Copyright (c) 2012, Smartrak, David Leaver\n' +
                  ' Leaflet.markercluster is an open-source JavaScript library for Marker Clustering on leaflet powered maps.\n' + 
-                 ' https://github.com/danzel/Leaflet.markercluster\n*/\n';
+@@ -23,7 +22,7 @@
+ });
  
--desc('Check Leaflet.markercluster source for errors with JSHint');
--task('lint', function () {
--
--	var files = build.getFiles();
--
--	console.log('Checking for JS errors...');
--
--	var errorsFound = lint.jshint(files);
--
--	if (errorsFound > 0) {
--		console.log(errorsFound + ' error(s) found.\n');
--		fail();
--	} else {
--		console.log('\tCheck passed');
--	}
--});
--
  desc('Combine and compress Leaflet.markercluster source files');
 -task('build', ['lint'], function (compsBase32, buildName) {
-+task('build', [], function (compsBase32, buildName) {
++task('build', function (compsBase32, buildName) {
  
  	var files = build.getFiles(compsBase32);
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list