docs: function () {
  			//check if canvas is supported
  			if (!Crafty.support.canvas) {
  				Crafty.trigger("NoCanvas");
  				Crafty.stop();
  				return;
  			}
  
  			//create an empty canvas element
  			var c;
  			c = document.createElement("canvas");
  			c.width = Crafty.viewport.width;
  			c.height = Crafty.viewport.height;
  			c.style.position = 'absolute';
  			c.style.left = "0px";
  			c.style.top = "0px";
  
  			Crafty.stage.elem.appendChild(c);
  			Crafty.canvas.context = c.getContext('2d');
  			Crafty.canvas._canvas = c;
  
  			//Set any existing transformations
  			var zoom = Crafty.viewport._zoom
  			if (zoom != 1)
  				Crafty.canvas.context.scale(zoom, zoom);
  		}