* | * | ||||
*/ | */ | ||||
Board.prototype.init = function() { | Board.prototype.init = function() { | ||||
for (var i = 0; i < 9; i++) { | |||||
for (var i = 0; i <= 9; i++) { | |||||
this.cups.push({}); | this.cups.push({}); | ||||
} | } | ||||
}; | }; |
doctype html | doctype html | ||||
html(lang='en' onkeypress='shoot(event)') | |||||
html(lang='en') | |||||
head | head | ||||
meta(charset='UTF-8') | meta(charset='UTF-8') | ||||
meta( http-equiv='X-UA-Compatible', content='IE=edge' ) | meta( http-equiv='X-UA-Compatible', content='IE=edge' ) | ||||
block content | block content | ||||
script(src='/js/Board.js') | script(src='/js/Board.js') | ||||
script(src='/js/app.js') | script(src='/js/app.js') | ||||