Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Not usable from browserify #468

Closed
tmcw opened this issue Jul 16, 2013 · 3 comments
Closed

Not usable from browserify #468

tmcw opened this issue Jul 16, 2013 · 3 comments
Labels

Comments

@tmcw
Copy link
Contributor

tmcw commented Jul 16, 2013

main points to index.js, index.js doesn't export anything.

@joeybaker
Copy link
Contributor

FWIW, I've gotten it to work with browserify okay. The only catch is that mapbox.js needs to be installed via npm (and not bower).

@tmcw
Copy link
Contributor Author

tmcw commented Sep 17, 2013

Actually, yeah - the catch is that var L = require('mapbox.js') doesn't work, but that's probably fine. window.L it is. closing.

@tmcw tmcw closed this as completed Sep 17, 2013
@joeybaker
Copy link
Contributor

Ah, yea. It's kinda non-good to have the package auto-create a global, but that appears to be a leaflet, not a mapbox problem :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants