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

AirplaneJS does not run in Safari for Mac OS X #6

Open
timtheguy opened this issue Dec 30, 2017 · 0 comments
Open

AirplaneJS does not run in Safari for Mac OS X #6

timtheguy opened this issue Dec 30, 2017 · 0 comments

Comments

@timtheguy
Copy link

timtheguy commented Dec 30, 2017

Problem

The AirplaneJS browser client does not render properly in Safari version 10.0.1 on Mac OS X El Capitan (10.11.6).

Expected Behavior

It is expected that once AirplaneJS is run from the command line interface, the map screen will be presented in the user's browser of choice when accessed from localhost:3000 or 127.0.0.1:3000.

Actual Behavior

The behavior described in the previous section does not take place in the version of Safari noted above. Instead, the client returns two error messages to the console:

[Error] SyntaxError: Can't create duplicate variable that shadows a global property: 'map'
	(anonymous function)
[Error] InvalidValueError: initMap is not a function
	sh (js:100:131)
	(anonymous function) (js:150)
	Load (js:21)
	(anonymous function) (js:149)
	Global Code (js:150)

Additional Details

The aircraft JSON endpoint, accessible via http://localhost:3000/aircrafts, still renders properly in Safari, with expected JSON data populated.

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

No branches or pull requests

1 participant