Skip to content

Instantly share code, notes, and snippets.

View ketimaBU's full-sized avatar
🐛
Making bugs

Fatima Zahra Kechida ketimaBU

🐛
Making bugs
  • Booking.com
  • Netherlands
View GitHub Profile
import {Injectable, provide} from 'angular2/core';
import {Observable} from 'rxjs';
const GEOLOCATION_ERRORS = {
'errors.location.unsupportedBrowser': 'Browser does not support location services',
'errors.location.permissionDenied': 'You have rejected access to your location',
'errors.location.positionUnavailable': 'Unable to determine your location',
'errors.location.timeout': 'Service timeout has been reached'
};