[Pkg-javascript-commits] [leaflet] 135/301: cleanup whitespace in #1197, remove unnecessary if

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:46 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 c9d0abb02b2290aade44d176cc3a99064631fbc9
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Fri Oct 18 14:01:43 2013 +0300

    cleanup whitespace in #1197, remove unnecessary if
---
 src/layer/marker/Marker.Popup.js | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/layer/marker/Marker.Popup.js b/src/layer/marker/Marker.Popup.js
index 3776035..e414d1b 100644
--- a/src/layer/marker/Marker.Popup.js
+++ b/src/layer/marker/Marker.Popup.js
@@ -79,11 +79,9 @@ L.Marker.include({
 		return this;
 	},
 
-  getPopup: function () {
-    if (this._popup) {
-      return this._popup;
-    }
-  },
+	getPopup: function () {
+		return this._popup;
+	},
 
 	_movePopup: function (e) {
 		this._popup.setLatLng(e.latlng);

-- 
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