lib/leaflet.js
function (layer) {
		var path = layer._path = L.SVG.create('path');

		// @namespace Path
		// @option className: String = null
		// Custom class name set on an element. Only for SVG renderer.
		if (layer.options.className) {
			L.DomUtil.addClass(path, layer.options.className);
		}

		if (layer.options.interactive) {
			L.DomUtil.addClass(path, 'leaflet-interactive');
		}

		this._updateStyle(layer);
	}
function (layer) {
		var path = layer._path = L.SVG.create('path');

		// @namespace Path
		// @option className: String = null
		// Custom class name set on an element. Only for SVG renderer.
		if (layer.options.className) {
			L.DomUtil.addClass(path, layer.options.className);
		}

		if (layer.options.interactive) {
			L.DomUtil.addClass(path, 'leaflet-interactive');
		}

		this._updateStyle(layer);
	}
function ( layer ) { var path = layer . _path = L . SVG . create ( 'path' ) ; // @namespace Path // @option className: String = null // Custom class name set on an element. Only for SVG renderer. if ( layer . options . className ) { L . DomUtil . addClass ( path , layer . options . className ) ; } if ( layer . options . interactive ) { L . DomUtil . addClass ( path , 'leaflet-interactive' ) ; } this . _updateStyle ( layer ) ; }
methods below are called by vector layers implementations
methods below are called by vector layers implementations