Commit caab5f7c authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

remove debugging statements

parent e2e51a90
Pipeline #27055 passed with stage
in 1 minute and 58 seconds
/* -*- coding: utf-8 -*- /* -*- coding: utf-8 -*-
** Copyright (C) 2018-2020 Laboratoire de Recherche et Développement de ** Copyright (C) 2018-2021 Laboratoire de Recherche et Développement de
** l'Epita. ** l'Epita.
** **
** This application is free software; you can redistribute it and/or ** This application is free software; you can redistribute it and/or
...@@ -328,7 +328,6 @@ function api_endpoint() { ...@@ -328,7 +328,6 @@ function api_endpoint() {
} }
function renderError(msg) { function renderError(msg) {
console.log(msg);
if (!msg.startsWith("500 ")) return <pre>{msg}</pre>; if (!msg.startsWith("500 ")) return <pre>{msg}</pre>;
return ( return (
<React.Fragment> <React.Fragment>
...@@ -396,7 +395,6 @@ class LtlInput extends React.Component { ...@@ -396,7 +395,6 @@ class LtlInput extends React.Component {
randomizeFormula = () => { randomizeFormula = () => {
let url = new URL(api_endpoint() + "random"); let url = new URL(api_endpoint() + "random");
console.log(this.props.expert);
if (this.props.expert) if (this.props.expert)
// turn on PSL generation // turn on PSL generation
url.searchParams.append("p", 1); url.searchParams.append("p", 1);
...@@ -1125,16 +1123,11 @@ class LtlTranslate extends React.Component { ...@@ -1125,16 +1123,11 @@ class LtlTranslate extends React.Component {
} }
showfilehoa = () => { showfilehoa = () => {
console.log("showfile:", this.state.showfile);
console.log("showfile:", this.state.showfile === 1);
let newval = this.state.showfile === 1 ? 0 : 1; let newval = this.state.showfile === 1 ? 0 : 1;
console.log("showfile:", newval);
this.setState({ showfile: newval }); this.setState({ showfile: newval });
console.log("showfile:", this.state.showfile);
}; };
showfilespin = () => { showfilespin = () => {
this.setState({ showfile: this.state.showfile === 2 ? 0 : 2 }); this.setState({ showfile: this.state.showfile === 2 ? 0 : 2 });
console.log("showfile:", this.state.showfile);
}; };
buildResult(res) { buildResult(res) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment