[Pkg-javascript-commits] [leaflet] 136/301: add Popup getContent, close #2100

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 83fb3cc9dd5fd02f68ebc27a4f0eb63363fb43c1
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Fri Oct 18 14:02:42 2013 +0300

    add Popup getContent, close #2100
---
 src/layer/Popup.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/layer/Popup.js b/src/layer/Popup.js
index ade68ff..ac4da44 100644
--- a/src/layer/Popup.js
+++ b/src/layer/Popup.js
@@ -106,6 +106,10 @@ L.Popup = L.Class.extend({
 		return this;
 	},
 
+	getContent: function () {
+		return this._content;
+	},
+
 	setContent: function (content) {
 		this._content = content;
 		this.update();

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