Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.2.1 broken on Chrome & Firefox #679

Closed
tnightingale opened this issue Aug 9, 2014 · 4 comments
Closed

v0.2.1 broken on Chrome & Firefox #679

tnightingale opened this issue Aug 9, 2014 · 4 comments
Assignees
Labels

Comments

@tnightingale
Copy link

On all Mapbox GL examples I can find using v0.2.1:

Map container div is blank with attribution text, dev tools console shows "script error" in chrome and "ReferenceError: window is not defined mapbox-gl.js:7" in ff.

Possibly a browserify issue?

Screenshots below:

Chrome 37.0.2062.68 beta
mapbox gl js examples mapbox

Firefox 31.0
mapbox gl js examples mapbox-1

@tnightingale
Copy link
Author

Satellite raster layer and Video examples working though console error messages still present.

@tnightingale
Copy link
Author

After cloning repo locally, problem seems to only apply to minified production build.

@peterqliu
Copy link
Contributor

I'm encountering the same problem on all Example pages in Chrome AND Safari. However, the GL demo on the blog page is working:

screen shot 2014-08-08 at 11 53 39 pm

@jfirebaugh jfirebaugh added the bug label Aug 9, 2014
@jfirebaugh jfirebaugh self-assigned this Aug 9, 2014
@jfirebaugh
Copy link
Contributor

This is a build issue with browserify or uglify. I'm still tracking down the root cause, but the v0.2.1 source is now fixed.

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

No branches or pull requests

3 participants