not using self idiom
authorDylan Lloyd <dylan@dylansserver.com>
Thu, 18 Jun 2015 01:05:16 +0000 (18:05 -0700)
committerDylan Lloyd <dylan@dylansserver.com>
Thu, 18 Jun 2015 01:05:16 +0000 (18:05 -0700)
ai.js

diff --git a/ai.js b/ai.js
index 8bb027c..8adb3c2 100644 (file)
--- a/ai.js
+++ b/ai.js
@@ -4,7 +4,6 @@ $(document).ready(function(){
     var ctx = canvas.getContext('2d');
 
     function board(size, startingActor) {
-        var self = this;
         this.size = size;
         this.turn = startingActor;
         this.cellSize = canvas.width / size;