minor cleanup

This commit is contained in:
Vladimir Agafonkin 2013-08-27 22:06:13 +03:00
parent 21d8bde0b7
commit 40ef71dc4c
2 changed files with 4 additions and 4 deletions

View File

@ -12,13 +12,13 @@ L.Popup = L.Class.extend({
options: {
minWidth: 50,
maxWidth: 300,
maxHeight: null,
// maxHeight: null,
autoPan: true,
closeButton: true,
offset: [0, 7],
autoPanPadding: [5, 5],
autoPanPaddingTopLeft: null,
autoPanPaddingBottomRight: null,
// autoPanPaddingTopLeft: null,
// autoPanPaddingBottomRight: null,
keepInView: false,
className: '',
zoomAnimation: true

View File

@ -76,7 +76,7 @@ L.Path = L.Browser.svg || !L.Browser.vml ? L.Path : L.Path.extend({
stroke.opacity = options.opacity;
if (options.dashArray) {
stroke.dashStyle = options.dashArray instanceof Array ?
stroke.dashStyle = L.Util.isArray(options.dashArray) ?
options.dashArray.join(' ') :
options.dashArray.replace(/( *, *)/g, ' ');
} else {