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
js/main.js
... ... @@ -121,7 +121,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
121 121 }
122 122  
123 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 125 Main.displaySuccess(button.closest('.support-proposal .section-content'), 'Seu voto já foi computado nesta proposta', 800);
126 126 contextMain.loadRandomProposal(topic_id);
127 127 e.preventDefault();
... ... @@ -401,7 +401,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
401 401 })
402 402 .fail(function( jqxhr, textStatus, error ) {
403 403 var err = textStatus + ', ' + error;
404   - console.log( 'Request Failed: ' + err );
  404 + // console.log( 'Request Failed: ' + err );
405 405 });
406 406 },
407 407 display_proposal_by_category: function(item){
... ... @@ -614,7 +614,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
614 614 }
615 615  
616 616 window._paq.push(['trackPageView', trackPageTitle]);
617   - console.log('tracked page view', trackPageTitle);
  617 + // console.log('tracked page view', trackPageTitle);
618 618 }
619 619 // [END] Tracking
620 620  
... ... @@ -1144,7 +1144,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
1144 1144 var loginForm = $(this).parents('#login-form');
1145 1145 var signupForm = loginForm.siblings('#signup-form');
1146 1146 window.signupForm = signupForm;
1147   - console.log("novo usuário");
  1147 + // console.log("novo usuário");
1148 1148 loginForm.hide();
1149 1149 signupForm.show();
1150 1150 signupForm.find(".password").show();
... ...