[Pkg-javascript-commits] [leaflet] 119/301: Fix lines too long issues

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:45 UTC 2014


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

js pushed a commit to branch master
in repository leaflet.

commit a9627d63af7f93772ff008a62b1dca9fd5ac25d1
Author: danzel <danzel at localhost.geek.nz>
Date:   Thu Oct 10 15:27:23 2013 +1300

    Fix lines too long issues
---
 src/core/Browser.js           | 3 ++-
 src/dom/DomEvent.DoubleTap.js | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/core/Browser.js b/src/core/Browser.js
index d3f8952..c7ea55e 100644
--- a/src/core/Browser.js
+++ b/src/core/Browser.js
@@ -20,7 +20,8 @@
 	    mobile = typeof orientation !== undefined + '',
 	    msPointer = window.navigator && window.navigator.msPointerEnabled &&
 	              window.navigator.msMaxTouchPoints && !window.PointerEvent,
-		pointer = (window.PointerEvent && window.navigator.pointerEnabled && window.navigator.maxTouchPoints) || msPointer,
+		pointer = (window.PointerEvent && window.navigator.pointerEnabled && window.navigator.maxTouchPoints) ||
+				  msPointer,
 	    retina = ('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
 	             ('matchMedia' in window && window.matchMedia('(min-resolution:144dpi)') &&
 	              window.matchMedia('(min-resolution:144dpi)').matches),
diff --git a/src/dom/DomEvent.DoubleTap.js b/src/dom/DomEvent.DoubleTap.js
index 6bc8d10..50d9bba 100644
--- a/src/dom/DomEvent.DoubleTap.js
+++ b/src/dom/DomEvent.DoubleTap.js
@@ -95,7 +95,8 @@ L.extend(L.DomEvent, {
 		        this._touchend, obj[pre + this._touchend + id], false);
 
 		if (L.Browser.pointer) {
-			document.documentElement.removeEventListener(L.DomEvent.POINTER_CANCEL, obj[pre + this._touchend + id], false);
+			document.documentElement.removeEventListener(L.DomEvent.POINTER_CANCEL, obj[pre + this._touchend + id],
+				false);
 		}
 
 		return this;

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



More information about the Pkg-javascript-commits mailing list