[Pkg-javascript-commits] [leaflet] 265/301: Gave L.CircleMarker.setLatLng a return statement.

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:55 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 9d2f90b508a5c06f54a391260c0a501c439c2282
Author: Bradley Gentry <bgentry at moffattnichol.com>
Date:   Tue Nov 19 17:01:00 2013 -0500

    Gave L.CircleMarker.setLatLng a return statement.
---
 src/layer/vector/CircleMarker.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/layer/vector/CircleMarker.js b/src/layer/vector/CircleMarker.js
index 0c67785..6b93df0 100644
--- a/src/layer/vector/CircleMarker.js
+++ b/src/layer/vector/CircleMarker.js
@@ -27,6 +27,7 @@ L.CircleMarker = L.Circle.extend({
 		if (this._popup && this._popup._isOpen) {
 			this._popup.setLatLng(latlng);
 		}
+		return this;
 	},
 
 	setRadius: function (radius) {

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