hi there, can I request an upgrade of a lib? or is there a good manual on how to do it? I failed with upgrading react-leaflet, when I loaded multiple JS-files and had to Enter the main namespace to extern
like described on https://github.com/jmmk/javascript-externs-generator. What namespace do I have to provide?
@timok Hi, you're on the right track. Looking at https://github.com/cljsjs/packages/blob/f12b0f29d4f375c3b1f7ae96b9444853a8aefc52/react-leaflet/resources/cljsjs/react-leaflet/common/react-leaflet.ext.js, it starts with var ReactLeaflet = ...
so the main namespace should be ReactLeaflet
Sometimes there is more than one namespace, but it doesn't seem to be case here as ReactLeaflet
is the only top-level variable in the extern file.
thanks, I will try that