index.js
// Get a source object URI prepared to call
Get a source object URI prepared to call
Get a source object URI prepared to call
function prepareURI(source_obj, location) {
	var uri = (options.testing) ? source_obj.testing_uri : source_obj.uri;
	console.log(options);
	return uri.replace(/\$\{latitude\}/g, location.latitude)
	          .replace(/\$\{longitude\}/g, location.longitude);
}
function prepareURI ( source_obj , location ) { var uri = ( options . testing ) ? source_obj . testing_uri : source_obj . uri ; console . log ( options ) ; return uri . replace ( / \$\{latitude\} / g , location . latitude ) . replace ( / \$\{longitude\} / g , location . longitude ) ; }
Get a source object URI prepared to call
Get a source object URI prepared to call