src/core/system.js in entityjs-0.3.0 vs src/core/system.js in entityjs-0.3.1
- old
+ new
@@ -86,9 +86,10 @@
this.canvas = re.$(canvasId);
this.scale = scale || 1;
this.context = this.canvas.getContext(contextType || '2d');
+
var s = re.screen = re.e('screen');
this.sizeX = s.sizeX = this.canvas.width;
this.sizeY = s.sizeY = this.canvas.height;
\ No newline at end of file