[Pkg-javascript-commits] [leaflet] 10/301: rename to lineCap and lineJoin, #1863, close #1843

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:38 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 e7ebb60133c0214fdb29eb461965dbf0f2075c2a
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Thu Jul 18 14:54:43 2013 +0300

    rename to lineCap and lineJoin, #1863, close #1843
---
 src/layer/vector/Path.SVG.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/layer/vector/Path.SVG.js b/src/layer/vector/Path.SVG.js
index f1bd43a..276ea38 100644
--- a/src/layer/vector/Path.SVG.js
+++ b/src/layer/vector/Path.SVG.js
@@ -80,10 +80,10 @@ L.Path = L.Path.extend({
 			} else {
 				this._path.removeAttribute('stroke-dasharray');
 			}
-			if (this.options.linecap) {
+			if (this.options.lineCap) {
 				this._path.setAttribute('stroke-linecap', this.options.linecap);
 			}
-			if (this.options.linejoin) {
+			if (this.options.lineJoin) {
 				this._path.setAttribute('stroke-linejoin', this.options.linejoin);
 			}
 		} else {

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