fin de journée

This commit is contained in:
William Noris 2021-10-19 17:35:05 +02:00
parent 5ab2c33e27
commit 3d963a43da
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,7 @@
import { api_call, API_URL, createPagination } from "./util"; import { api_call, API_URL, createPagination } from "./util";
const planetes = document.getElementById("resultats");
console.log('planet.js loaded'); const planetes = document.getElementById("resultats");
function remplissage(results) { function remplissage(results) {
@ -53,3 +52,6 @@ function remplissage(results) {
} }
api_call(API_URL + "/planets", remplissage); api_call(API_URL + "/planets", remplissage);
console.log('planet.js loaded');