add missing types to Map.createPane docstring (#4450)

Last one, hopefully.
This commit is contained in:
Nathan Cahill 2016-04-15 15:52:03 -06:00 committed by Yohan Boniface
parent ede3246f4d
commit 46083ad881

View File

@ -442,7 +442,7 @@ L.Map = L.Evented.extend({
}, },
// @section Other Methods // @section Other Methods
// @method createPane(name, container?): HTMLElement // @method createPane(name: String, container?: HTMLElement): HTMLElement
// Creates a new map pane with the given name if it doesn't exist already, // Creates a new map pane with the given name if it doesn't exist already,
// then returns it. The pane is created as a children of `container`, or // then returns it. The pane is created as a children of `container`, or
// as a children of the main map pane if not set. // as a children of the main map pane if not set.