This commit is contained in:
Devine Lu Linvega
2016-12-31 08:00:57 -07:00
parent 704fbe3386
commit bb71cee73a
6 changed files with 34 additions and 0 deletions

15
scripts/dotgrid.js Normal file
View File

@@ -0,0 +1,15 @@
function Dotgrid(width,height)
{
this.width = width;
this.height = height;
this.element = null;
this.install = function()
{
this.element = document.createElement("div");
this.element.id = "dotgrid";
this.element.style.width = this.width;
this.element.style.height = this.height;
document.body.appendChild(this.element);
}
}