Kikikoz
+ +Personne
@@ -42,6 +46,11 @@ +diff --git a/Cargo.toml b/Cargo.toml index ff24bf7..a8e4be9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,9 @@ js-sys = "0.3" [dependencies.web-sys] version = "0.3" features = [ + 'console', 'Document', + 'DomTokenList', 'Element', 'HtmlCollection', 'HtmlInputElement', diff --git a/default.nix b/default.nix index 508abb9..d3f87a2 100644 --- a/default.nix +++ b/default.nix @@ -2,7 +2,7 @@ pkgs.callPackage ./Cargo.nix { defaultCrateOverrides = pkgs.defaultCrateOverrides // { - lixiangyuan = attrs: { + kikikoz = attrs: { buildInputs = [ pkgs.wasm-pack ]; }; }; diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..bb1c407 --- /dev/null +++ b/flake.lock @@ -0,0 +1,78 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1637014545, + "narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1649809588, + "narHash": "sha256-f6sgDj9A8FXTVyA2zkxA66YX+j6BftxE9VHTeIMhEKE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "ff9efb0724de5ae0f9db9df2debefced7eb1571d", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1637453606, + "narHash": "sha256-Gy6cwUswft9xqsjWxFYEnx/63/qzaFUwatcbV5GF/GQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "8afc4e543663ca0a6a4f496262cd05233737e732", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "rust-overlay": "rust-overlay" + } + }, + "rust-overlay": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1649903781, + "narHash": "sha256-m+3EZo0a4iS8IwHQhkM/riPuFpu76505xKqmN9j5O+E=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "e45696bedc4a13a5970376b8fc09660fdd0e6f6c", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index 289b8de..fadced7 100644 --- a/flake.nix +++ b/flake.nix @@ -14,8 +14,7 @@ inherit system; overlays = [ rust-overlay.overlay ]; }; - in (({ pkgs, ... }: - pkgs.mkShell { + in pkgs.mkShell { buildInputs = with pkgs; [ cargo cargo-watch @@ -31,6 +30,6 @@ ]; shellHook = ""; - }) { pkgs = pkgs; }); + }; }; } diff --git a/index.html b/index.html index 7a21594..05bde48 100644 --- a/index.html +++ b/index.html @@ -13,12 +13,16 @@ window.ajoute = ajoute; window.ajoute_kp = ajoute_kp; window.next = next; + window.intervalle_orateurice = intervalle_orateurice; window.setInterval(intervalle_orateurice, 1000);
-Personne
@@ -42,6 +46,11 @@ +