Commit 144e39105f2a3f361ed57eb98fc56fe93ed40594

Authored by Leonardo Merlin
1 parent 1dc9e9aa

Remove old console print

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
@@ -121,7 +121,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun @@ -121,7 +121,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
121 } 121 }
122 122
123 if(ProposalApp.hasProposalbeenVoted(article.id)){ 123 if(ProposalApp.hasProposalbeenVoted(article.id)){
124 - console.log("Proposta " + article.id + " já havia sido votada"); 124 + // console.debug("Proposta " + article.id + " já havia sido votada");
125 Main.displaySuccess(button.closest('.support-proposal .section-content'), 'Seu voto já foi computado nesta proposta', 800); 125 Main.displaySuccess(button.closest('.support-proposal .section-content'), 'Seu voto já foi computado nesta proposta', 800);
126 contextMain.loadRandomProposal(topic_id); 126 contextMain.loadRandomProposal(topic_id);
127 e.preventDefault(); 127 e.preventDefault();
@@ -401,7 +401,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun @@ -401,7 +401,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
401 }) 401 })
402 .fail(function( jqxhr, textStatus, error ) { 402 .fail(function( jqxhr, textStatus, error ) {
403 var err = textStatus + ', ' + error; 403 var err = textStatus + ', ' + error;
404 - console.log( 'Request Failed: ' + err ); 404 + // console.log( 'Request Failed: ' + err );
405 }); 405 });
406 }, 406 },
407 display_proposal_by_category: function(item){ 407 display_proposal_by_category: function(item){
@@ -614,7 +614,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun @@ -614,7 +614,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
614 } 614 }
615 615
616 window._paq.push(['trackPageView', trackPageTitle]); 616 window._paq.push(['trackPageView', trackPageTitle]);
617 - console.log('tracked page view', trackPageTitle); 617 + // console.log('tracked page view', trackPageTitle);
618 } 618 }
619 // [END] Tracking 619 // [END] Tracking
620 620
@@ -1144,7 +1144,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun @@ -1144,7 +1144,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
1144 var loginForm = $(this).parents('#login-form'); 1144 var loginForm = $(this).parents('#login-form');
1145 var signupForm = loginForm.siblings('#signup-form'); 1145 var signupForm = loginForm.siblings('#signup-form');
1146 window.signupForm = signupForm; 1146 window.signupForm = signupForm;
1147 - console.log("novo usuário"); 1147 + // console.log("novo usuário");
1148 loginForm.hide(); 1148 loginForm.hide();
1149 signupForm.show(); 1149 signupForm.show();
1150 signupForm.find(".password").show(); 1150 signupForm.find(".password").show();