function displayAvailableColors(apiURL) {
	try {
		$.getJSON( apiURL, function( json ) {
			window.availableColors = json;
		})
		.error(function() {
			console.log("No available colors")
		})
		.complete(function() { 
			
		});
	}
	catch (err) {
		console.log(err)
	}
}
// Get all the colors available in our system
Get all the colors available in our system
Get all the colors available in our system
function displayAvailableColors(apiURL) {
	try {
		$.getJSON( apiURL, function( json ) {
			window.availableColors = json;
		})
		.error(function() {
			console.log("No available colors")
		})
		.complete(function() { 
		});
	}
	catch (err) {
		console.log(err)
	}
}
function displayAvailableColors ( apiURL ) { try { $ . getJSON ( apiURL , function ( json ) { window . availableColors = json ; } ) . error ( function ( ) { console . log ( "No available colors" ) } ) . complete ( function ( ) { } ) ; } catch ( err ) { console . log ( err ) } }
Get all the colors available in our system
Get all the colors available in our system