From 0a449ca7766d4b29f028c9a81e662bbd6c5e5d1a Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 13 Jul 2011 20:53:52 +0200 Subject: [PATCH] comment --- js/star.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/star.js b/js/star.js index d83a8a3..934b4a4 100644 --- a/js/star.js +++ b/js/star.js @@ -91,7 +91,7 @@ function won_or_not( state ) { } function display_on_canvas( state, canvas_elt ) { - var ctx= $( canvas_elt )[ 0 ].getContext( '2d' ); + var ctx= $( canvas_elt )[ 0 ].getContext( '2d' ); //$() returns a jquery object, [0] to get the canvas itself for ( var i=0 ; i < LEVEL_HEIGHT ; i++ ) { for ( var j=0 ; j < LEVEL_WIDTH ; j++ ) { var c = get_cell( state, j, i );