Sha256: 7003e169908485830273b7b7fc459ef9fa987b8b60318503427b35c40ac2d0bc

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

function setup_canvas(){
  
  $('body').append('<canvas id="game-canvas" width="500" height="400"></canvas>')
}

function teardown_canvas(){
  $('#game-canvas').remove()
}

$(function(){
        setup_canvas();
        
    re.sys.init('#game-canvas');
    
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
entityjs-0.3.0 spec/javascripts/helpers/canvas.js