codeforamerica/ohana-web-search

View on GitHub

Showing 2,141 of 2,141 total issues

Expected property shorthand.
Open

turnOff:turnOff,

Unexpected var, use let or const instead.
Open

var _htmlClassList;

Missing space before value for key 'attach'.
Open

attach:attach

Unexpected dangling '_' in '_locateTargetTextContainer'.
Open

var _locateTargetTextContainer;

'google' is not defined.
Open

var latlng = new google.maps.LatLng(lat, lng);

Missing trailing comma.
Open

maximumAge: 600000

Expected indentation of 6 spaces but found 4.
Open

error.message = 'An unknown error occurred.';

Unexpected dangling '_' in '_mapDOM'.
Open

var _mapDOM;

'_currLocationAction' was used before it was defined.
Open

_locateTarget.addEventListener('click', _currLocationAction, false);

Unexpected var, use let or const instead.
Open

var DEFAULT_INFOBOX_DELAY = 400;

Unexpected dangling '_' in '_infoBoxContent'.
Open

var _infoBoxContent;

Unexpected dangling '_' in '_currLocationAction'.
Open

function _currLocationAction(evt) {

'turnOffInfoBoxStates' was used before it was defined.
Open

turnOffInfoBoxStates();

There should be no spaces inside this paren.
Open

_infoBoxState.isOff(STATE.OVER_MARKER) ) {

Unexpected var, use let or const instead.
Open

var geocoder = new google.maps.Geocoder();

Missing space before value for key 'turnOn'.
Open

turnOn:turnOn,

Unexpected var, use let or const instead.
Open

var message = {

Expected indentation of 6 spaces but found 4.
Open

error.message = 'Location information is unavailable.';

'google' is not defined.
Open

infoBoxClearance: new google.maps.Size(1, 1),

All 'var' declarations must be at the top of the function scope.
Open

var setDelay = delay !== undefined ? delay : DEFAULT_INFOBOX_DELAY;
Severity
Category
Status
Source
Language