mirror of
https://github.com/rileyjshaw/terra.git
synced 2024-11-21 04:54:23 +00:00
Fix options undefined error
This commit is contained in:
parent
9da49dbefb
commit
080547d05b
1
dist/terra.js
vendored
1
dist/terra.js
vendored
@ -318,6 +318,7 @@ var dom = require('./dom.js');
|
||||
* @param {array} background an RGB triplet for the canvas' background
|
||||
*/
|
||||
function Terrarium(width, height, options) {
|
||||
options = options || {};
|
||||
var cellSize = options.cellSize || 10;
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
|
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