Docs(imagePath): "absolute path" to "path" (#5835)

This simply removes the word "absolute" from the documentation of Icon.Default.imagePath. This path can be relative or absolute.

e.g. L.Icon.Default.imagePath = 'style/images/'; works just fine for me.
This commit is contained in:
Maciej Kus 2017-10-11 08:31:45 -07:00 committed by Vladimir Agafonkin
parent 5e696a5ba5
commit 9084c4a8a3

View File

@ -36,9 +36,9 @@ export var IconDefault = Icon.extend({
}
// @option imagePath: String
// `Icon.Default` will try to auto-detect the absolute location of the
// `Icon.Default` will try to auto-detect the location of the
// blue icon images. If you are placing these images in a non-standard
// way, set this option to point to the right absolute path.
// way, set this option to point to the right path.
return (this.options.imagePath || IconDefault.imagePath) + Icon.prototype._getIconUrl.call(this, name);
},