[Pkg-javascript-commits] [leaflet] 49/301: more consistent method name for ImageOverlay update

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:41 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 10c1af4f41d9cc5c62d37d365f711c84980da5a7
Author: Stefan Sydow <st at metafly.info>
Date:   Fri Aug 9 09:16:04 2013 +0200

    more consistent method name for ImageOverlay update
---
 src/layer/ImageOverlay.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/layer/ImageOverlay.js b/src/layer/ImageOverlay.js
index 1334819..0248fa7 100644
--- a/src/layer/ImageOverlay.js
+++ b/src/layer/ImageOverlay.js
@@ -71,7 +71,7 @@ L.ImageOverlay = L.Class.extend({
 		return this;
 	},
 
-	updateImage: function (url) {
+	setUrl: function (url) {
 		this._url = url;
 		this._image.src = this._url;
 	},

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