Open diachedelic opened 6 years ago
I'm using RequireJS/AMD
Looks like the issue is that fetch-jsonp is already wrapped in UMD, which breaks when browserify
wraps it again:
+1 for this, only happens for me on IE11, not Chrome.
I don't use RequireJS or AMD so this will need someone else to fix it.
I have fixed it for myself, but I need to build against fetch-jsonp's master (annotated commit: https://github.com/diachedelic/leaflet-bing-layer/commit/d5371eaf648856fce0fbd5f53307c8f6b7e966db)
So it's not the nicest but it works for me.
I installed the script via Bower, but it looks like
fetchJsonp
is never defined (these lines are never executed)