[Pkg-javascript-commits] [leaflet] 46/301: Code style adjusted for travis.
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:40 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 4f2f1edb04b02a2efef531a77e013da74b86a10f
Author: Daniel <danielku15 at coderline.net>
Date: Thu Aug 8 17:11:34 2013 +0200
Code style adjusted for travis.
---
src/control/Control.Zoom.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/control/Control.Zoom.js b/src/control/Control.Zoom.js
index c5b0aba..0ef9ec7 100644
--- a/src/control/Control.Zoom.js
+++ b/src/control/Control.Zoom.js
@@ -9,7 +9,7 @@ L.Control.Zoom = L.Control.extend({
zoomInTooltip: 'Zoom in',
zoomOutText: '-',
zoomOutTooltip: 'Zoom out'
- },
+ },
onAdd: function (map) {
var zoomName = 'leaflet-control-zoom',
@@ -18,9 +18,11 @@ L.Control.Zoom = L.Control.extend({
this._map = map;
this._zoomInButton = this._createButton(
- this.options.zoomInText, this.options.zoomInTooltip, zoomName + '-in', container, this._zoomIn, this);
+ this.options.zoomInText, this.options.zoomInTooltip,
+ zoomName + '-in', container, this._zoomIn, this);
this._zoomOutButton = this._createButton(
- this.options.zoomOutText, this.options.zoomOutTooltip, zoomName + '-out', container, this._zoomOut, this);
+ this.options.zoomOutText, this.options.zoomOutTooltip,
+ zoomName + '-out', container, this._zoomOut, this);
map.on('zoomend zoomlevelschange', this._updateDisabled, this);
--
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