Skip to content

Commit

Permalink
jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Oct 4, 2018
1 parent 0cd3d20 commit 6d6c690
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fluorine_renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<div class="left" id="infobox"></div>

<div class="right" id="canvas_holder"><canvas id="canvas"></canvas></div>
<canvas class="right" id="canvas"></canvas>

<script>

Expand All @@ -52,7 +52,6 @@
const colours = ["#eeaaee", "#63ceca", "#ffbe00", "#c5ec98"];

const canvas = document.getElementById("canvas");
const canvas_holder = document.getElementById("canvas_holder");
const infobox = document.getElementById("infobox");

const context = canvas.getContext("2d");
Expand Down Expand Up @@ -1046,8 +1045,6 @@
if (!renderer.game) return;
if (x < 0 || y < 0 || x >= renderer.width || y >= renderer.height) return;

let frame = renderer.current_frame();

let ship_info = renderer.ship_at(x, y);

if (!ship_info) {
Expand Down

0 comments on commit 6d6c690

Please sign in to comment.