diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-02-14 13:34:41 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-02-17 15:48:28 -0600 |
commit | 9252fc84840220106e696cc2116e7804c9529c5a (patch) | |
tree | c1bafe27ad0cac8e4b49bd476ad2e3947fe4fca9 /extlib/leaflet/src/layer/vector/Path.Popup.js | |
parent | 572106e23037997db9a4e131029b0a4f7cb969b5 (diff) | |
download | mediagoblin-9252fc84840220106e696cc2116e7804c9529c5a.tar.lz mediagoblin-9252fc84840220106e696cc2116e7804c9529c5a.tar.xz mediagoblin-9252fc84840220106e696cc2116e7804c9529c5a.zip |
Remove extlib deps moved into bower
Diffstat (limited to 'extlib/leaflet/src/layer/vector/Path.Popup.js')
-rw-r--r-- | extlib/leaflet/src/layer/vector/Path.Popup.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/extlib/leaflet/src/layer/vector/Path.Popup.js b/extlib/leaflet/src/layer/vector/Path.Popup.js deleted file mode 100644 index b82a4920..00000000 --- a/extlib/leaflet/src/layer/vector/Path.Popup.js +++ /dev/null @@ -1,24 +0,0 @@ -/*
- * Popup extension to L.Path (polylines, polygons, circles), adding bindPopup method.
- */
-
-L.Path.include({
- bindPopup: function(content, options) {
- if (!this._popup || this._popup.options !== options) {
- this._popup = new L.Popup(options);
- }
- this._popup.setContent(content);
-
- if (!this._openPopupAdded) {
- this.on('click', this._openPopup, this);
- this._openPopupAdded = true;
- }
-
- return this;
- },
-
- _openPopup: function(e) {
- this._popup.setLatLng(e.latlng);
- this._map.openPopup(this._popup);
- }
-});
\ No newline at end of file |