diff --git a/js/gamutable.es6.js b/js/gamutable.es6.js index 489c379..4d5b58d 100644 --- a/js/gamutable.es6.js +++ b/js/gamutable.es6.js @@ -150,6 +150,9 @@ let monTableau = { namecsv: { type: String, }, + toto: { + type: String, + }, }, data: function () { return { @@ -172,7 +175,6 @@ let monTableau = { }, mounted() { this.chargerJson(); - let url = 'spip.php?page=vuebloc'; fetch(url) .then((response) => response.text()) @@ -345,8 +347,6 @@ let monTableau = { Object.keys(ligne).forEach((key) => { html = html.replace(`@@${key}@@`, ligne[key]); }); - //console.log(html); - //console.log('coucou'); return html; }, }, diff --git a/js/gamutable.js b/js/gamutable.js index 3c2a9cc..549e174 100644 --- a/js/gamutable.js +++ b/js/gamutable.js @@ -194,6 +194,9 @@ var monTableau = { }, namecsv: { type: String + }, + toto: { + type: String } }, data: function data() { @@ -412,9 +415,7 @@ var monTableau = { console.log(ligne); Object.keys(ligne).forEach(function (key) { html = html.replace("@@".concat(key, "@@"), ligne[key]); - }); //console.log(html); - //console.log('coucou'); - + }); return html; } },