remove debugging stuff

This commit is contained in:
Gwenhael Le Moine 2011-07-13 20:50:32 +02:00
parent f643329db4
commit cea58a9e5b

View file

@ -91,10 +91,6 @@ function won_or_not( state ) {
} }
function display_on_canvas( state, canvas_elt ) { function display_on_canvas( state, canvas_elt ) {
board_infos = {};
board_infos.cell_dimensions = {};
board_infos.cell_dimensions.width = 20;
board_infos.cell_dimensions.height = 20;
var ctx= document.getElementById( canvas_elt ).getContext( '2d' ); var ctx= document.getElementById( canvas_elt ).getContext( '2d' );
for ( var i=0 ; i < LEVEL_HEIGHT ; i++ ) { for ( var i=0 ; i < LEVEL_HEIGHT ; i++ ) {
for ( var j=0 ; j < LEVEL_WIDTH ; j++ ) { for ( var j=0 ; j < LEVEL_WIDTH ; j++ ) {