Skip to content

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

@timtheguy

Description

@timtheguy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions