This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"businesses": [ | |
{ | |
"id": "minellis-pizza-columbus-2", | |
"name": "Minelli's Pizza", | |
"image_url": "https://s3-media2.fl.yelpcdn.com/bphoto/RClRY8K40PbFvE-zg6CNJA/o.jpg", | |
"is_closed": false, | |
"url": "https://www.yelp.com/biz/minellis-pizza-columbus-2?adjust_creative=MCLKONVnfSv060BOXT4UYQ&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_search&utm_source=MCLKONVnfSv060BOXT4UYQ", | |
"review_count": 31, | |
"categories": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Use this class to ensure Google Maps API javascript is loaded before running any google map specific code. | |
*/ | |
export class GoogleMapsApi { | |
/** | |
* Constructor set up config. | |
*/ | |
constructor() { | |
// api key for google maps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Maps a callback to an element in an array-like object | |
* Basically a copy of underscore's _.each | |
* source: http://underscorejs.org/docs/underscore.html#section-20 | |
*/ | |
export function forEach(obj, iteratee, context) { | |
let ctx = this; | |
const isObject = function(obj) { |
OlderNewer