@@ -118,11 +118,11 @@ $(document).ready(function() {
118118 chrome . tabs . executeScript ( tabId , {
119119 file : "js/set_status_icon.js"
120120 } , function ( ) {
121- console . log ( "Status set to " + newStatus ) ;
121+ // console.log("Status set to " + newStatus);
122122 } ) ;
123123 } ) ;
124124 } catch ( e ) {
125- console . log ( "Error Message: " + e ) ;
125+ // console.log("Error Message: " + e);
126126 }
127127 } ) ;
128128 } ) ;
@@ -252,7 +252,7 @@ $(document).ready(function() {
252252 function send ( ) {
253253 // alert('you said ' + txt);
254254 // setResponse('you said ' + txt);
255- console . log ( 'user said ' + txt ) ;
255+ // console.log('user said ' + txt);
256256 txt = txt . replace ( 'hey ' , '' ) ;
257257 // alert(txt);
258258 tasks ( ) ;
@@ -304,7 +304,7 @@ $(document).ready(function() {
304304 } else if ( data . result . metadata . intentName === "calendar" ) {
305305 //Speech("please tell details about the event");
306306 chrome . identity . getProfileUserInfo ( function ( userInfo ) {
307- console . log ( userInfo . id ) ;
307+ // console.log(userInfo.id);
308308 chrome . tabs . create ( {
309309 'url' : 'https://www.google.com/calendar/render?action=TEMPLATE&text=data.result.parameters.any&dates=data.result.parameters.dateTdata.result.parameters.timeZ&output=xml'
310310 } ) ;
@@ -414,7 +414,7 @@ $(document).ready(function() {
414414 /*get cropped image from user*/
415415 function getCroppedImage ( image , callbackMethod ) {
416416
417- console . log ( "cropping image : callbackMethod : " + callbackMethod ) ;
417+ // console.log("cropping image : callbackMethod : " + callbackMethod);
418418 chrome . tabs . query ( {
419419 active : true ,
420420 currentWindow : true
@@ -433,7 +433,7 @@ $(document).ready(function() {
433433 chrome . tabs . executeScript ( tabid , {
434434 file : "js/content_script.js"
435435 } , function ( response ) {
436- console . log ( "Indside background script!! id:" + tabid + ", response: " + JSON . stringify ( response , null , 4 ) ) ;
436+ // console.log("Indside background script!! id:" + tabid + ", response: " + JSON.stringify(response, null, 4));
437437 } ) ;
438438 } ) ;
439439 } ) ;
@@ -465,10 +465,10 @@ $(document).ready(function() {
465465 chrome . tabs . create ( {
466466 url : searchURL
467467 } , function ( tab ) {
468- console . log ( "reverse search successful" ) ;
468+ // console.log("reverse search successful");
469469 } ) ;
470470 } else {
471- console . log ( "Sorry, Unable to perform reverse search!" ) ;
471+ // console.log("Sorry, Unable to perform reverse search!");
472472 }
473473 } ;
474474 xhr . send ( fd ) ;
@@ -493,10 +493,10 @@ $(document).ready(function() {
493493 chrome . tabs . create ( {
494494 url : searchURL
495495 } , function ( tab ) {
496- console . log ( "reverse search successful" ) ;
496+ // console.log("reverse search successful");
497497 } ) ;
498498 } else {
499- console . log ( "Sorry, Unable to perform reverse search!" ) ;
499+ // console.log("Sorry, Unable to perform reverse search!");
500500 }
501501 } ;
502502 xhr . send ( fd ) ;
@@ -531,7 +531,7 @@ function swapTab() {
531531 getCroppedImage ( screenshotUrl , "screenshot" ) ;
532532 chrome . runtime . onMessage . addListener ( function ( message , sender , sendResponse ) {
533533 if ( message . callbackMethod === "screenshot" ) {
534- console . log ( "CroppedImage Recieved!!" ) ;
534+ // console.log("CroppedImage Recieved!!");
535535
536536 chrome . tabs . onUpdated . addListener ( function listener ( tabId , changedProps ) {
537537 // we are waiting for the tab to be open
0 commit comments