function handleClick(item, event) {
			console.log("CLICKED");
			console.log(item);

			helpers.postSaved(item.headline.main, item.pub_date, item.web_url).then(function (data) {
				console.log(item.web_url);
			}.bind(this));
		}
// /*This code handles the sending of the search terms to the parent Search component*/
This code handles the sending of the search terms to the parent Search component
This code handles the sending of the search terms to the parent Search component
function handleClick(item, event) {
			console.log("CLICKED");
			console.log(item);
			helpers.postSaved(item.headline.main, item.pub_date, item.web_url).then(function (data) {
				console.log(item.web_url);
			}.bind(this));
		}
function handleClick ( item , event ) { console . log ( "CLICKED" ) ; console . log ( item ) ; helpers . postSaved ( item . headline . main , item . pub_date , item . web_url ) . then ( function ( data ) { console . log ( item . web_url ) ; } . bind ( this ) ) ; }
This code handles the sending of the search terms to the parent Search component
This code handles the sending of the search terms to the parent Search component