mirror of
https://github.com/rileyjshaw/terra.git
synced 2024-11-21 04:54:23 +00:00
Update dist with e20c16c1
This commit is contained in:
parent
a1314ea1e9
commit
e6c6ce3a33
3
dist/terra.js
vendored
3
dist/terra.js
vendored
@ -265,9 +265,10 @@ var dom = require('./dom.js');
|
||||
* @param {string} insertAfter id of the element to insert the canvas after
|
||||
*/
|
||||
function Terrarium(width, height, id, cellSize, insertAfter) {
|
||||
cellSize = cellSize || 10;
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.cellSize = cellSize || 10;
|
||||
this.cellSize = cellSize;
|
||||
this.grid = [];
|
||||
this.canvas = dom.createCanvasElement(width * cellSize, height * cellSize, id, insertAfter);
|
||||
this.nextFrame = false;
|
||||
|
2
dist/terra.min.js
vendored
2
dist/terra.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user