pages/js/sponsgalaxy.js
/**
* Helper function to create a HTML5 canvas and add a class to it
* @return {[canvas]}
*/
Helper function to create a HTML5 canvas and add a class to it
Helper function to create a HTML5 canvas and add a class to it
function createCanvas() {
var canvas = document.createElement('canvas');
canvas.classList.add('canvas');
return canvas;
}
function createCanvas ( ) { var canvas = document . createElement ( 'canvas' ) ; canvas . classList . add ( 'canvas' ) ; return canvas ; }
Helper function to create a HTML5 canvas and add a class to it
Helper function to create a HTML5 canvas and add a class to it