Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
filtersDialog: {
init: filtersDialogInit,
show: filtersDialogShow
},
preferencesDialog: {
init: preferencesDialogInit,
show: preferencesDialogShow
},
zoomToast: {
init: zoomToastInit
}
};
// Dialogs
ons.createAlertDialog('templates/about.html').then(initDialog);
ons.createAlertDialog('templates/geocode.html').then(initDialog);
ons.createAlertDialog('templates/filters.html').then(initDialog);
ons.createAlertDialog('templates/preferences.html').then(initDialog);
ons.createAlertDialog('templates/popup.html').then(initDialog);
ons.createAlertDialog('templates/zoom.html').then(initDialog);
ons.createAlertDialog('templates/hours.html').then(initDialog);
// Map events
map.on('zoom', checkZoomLevel);
map.on('locationfound', newLocation);
// Handle deep links
if (typeof universalLinks === 'object') {
universalLinks.subscribe(null, handleDeepLink);
}
}
preferencesDialog: {
init: preferencesDialogInit,
show: preferencesDialogShow
},
zoomToast: {
init: zoomToastInit
}
};
// Dialogs
ons.createAlertDialog('templates/about.html').then(initDialog);
ons.createAlertDialog('templates/geocode.html').then(initDialog);
ons.createAlertDialog('templates/filters.html').then(initDialog);
ons.createAlertDialog('templates/preferences.html').then(initDialog);
ons.createAlertDialog('templates/popup.html').then(initDialog);
ons.createAlertDialog('templates/zoom.html').then(initDialog);
ons.createAlertDialog('templates/hours.html').then(initDialog);
// Map events
map.on('zoom', checkZoomLevel);
map.on('locationfound', newLocation);
// Handle deep links
if (typeof universalLinks === 'object') {
universalLinks.subscribe(null, handleDeepLink);
}
}
init: filtersDialogInit,
show: filtersDialogShow
},
preferencesDialog: {
init: preferencesDialogInit,
show: preferencesDialogShow
},
zoomToast: {
init: zoomToastInit
}
};
// Dialogs
ons.createAlertDialog('templates/about.html').then(initDialog);
ons.createAlertDialog('templates/geocode.html').then(initDialog);
ons.createAlertDialog('templates/filters.html').then(initDialog);
ons.createAlertDialog('templates/preferences.html').then(initDialog);
ons.createAlertDialog('templates/popup.html').then(initDialog);
ons.createAlertDialog('templates/zoom.html').then(initDialog);
ons.createAlertDialog('templates/hours.html').then(initDialog);
// Map events
map.on('zoom', checkZoomLevel);
map.on('locationfound', newLocation);
// Handle deep links
if (typeof universalLinks === 'object') {
universalLinks.subscribe(null, handleDeepLink);
}
}
},
preferencesDialog: {
init: preferencesDialogInit,
show: preferencesDialogShow
},
zoomToast: {
init: zoomToastInit
}
};
// Dialogs
ons.createAlertDialog('templates/about.html').then(initDialog);
ons.createAlertDialog('templates/geocode.html').then(initDialog);
ons.createAlertDialog('templates/filters.html').then(initDialog);
ons.createAlertDialog('templates/preferences.html').then(initDialog);
ons.createAlertDialog('templates/popup.html').then(initDialog);
ons.createAlertDialog('templates/zoom.html').then(initDialog);
ons.createAlertDialog('templates/hours.html').then(initDialog);
// Map events
map.on('zoom', checkZoomLevel);
map.on('locationfound', newLocation);
// Handle deep links
if (typeof universalLinks === 'object') {
universalLinks.subscribe(null, handleDeepLink);
}
}
init: preferencesDialogInit,
show: preferencesDialogShow
},
zoomToast: {
init: zoomToastInit
}
};
// Dialogs
ons.createAlertDialog('templates/about.html').then(initDialog);
ons.createAlertDialog('templates/geocode.html').then(initDialog);
ons.createAlertDialog('templates/filters.html').then(initDialog);
ons.createAlertDialog('templates/preferences.html').then(initDialog);
ons.createAlertDialog('templates/popup.html').then(initDialog);
ons.createAlertDialog('templates/zoom.html').then(initDialog);
ons.createAlertDialog('templates/hours.html').then(initDialog);
// Map events
map.on('zoom', checkZoomLevel);
map.on('locationfound', newLocation);
// Handle deep links
if (typeof universalLinks === 'object') {
universalLinks.subscribe(null, handleDeepLink);
}
}
},
filtersDialog: {
init: filtersDialogInit,
show: filtersDialogShow
},
preferencesDialog: {
init: preferencesDialogInit,
show: preferencesDialogShow
},
zoomToast: {
init: zoomToastInit
}
};
// Dialogs
ons.createAlertDialog('templates/about.html').then(initDialog);
ons.createAlertDialog('templates/geocode.html').then(initDialog);
ons.createAlertDialog('templates/filters.html').then(initDialog);
ons.createAlertDialog('templates/preferences.html').then(initDialog);
ons.createAlertDialog('templates/popup.html').then(initDialog);
ons.createAlertDialog('templates/zoom.html').then(initDialog);
ons.createAlertDialog('templates/hours.html').then(initDialog);
// Map events
map.on('zoom', checkZoomLevel);
map.on('locationfound', newLocation);
// Handle deep links
if (typeof universalLinks === 'object') {
universalLinks.subscribe(null, handleDeepLink);
}
}
show: filtersDialogShow
},
preferencesDialog: {
init: preferencesDialogInit,
show: preferencesDialogShow
},
zoomToast: {
init: zoomToastInit
}
};
// Dialogs
ons.createAlertDialog('templates/about.html').then(initDialog);
ons.createAlertDialog('templates/geocode.html').then(initDialog);
ons.createAlertDialog('templates/filters.html').then(initDialog);
ons.createAlertDialog('templates/preferences.html').then(initDialog);
ons.createAlertDialog('templates/popup.html').then(initDialog);
ons.createAlertDialog('templates/zoom.html').then(initDialog);
ons.createAlertDialog('templates/hours.html').then(initDialog);
// Map events
map.on('zoom', checkZoomLevel);
map.on('locationfound', newLocation);
// Handle deep links
if (typeof universalLinks === 'object') {
universalLinks.subscribe(null, handleDeepLink);
}
}