From 76aee15d9be28b9f748a9a677af2ca92e8399a71 Mon Sep 17 00:00:00 2001
From: Amanda Ghassaei <amandaghassaei@gmail.com>
Date: Tue, 27 Jan 2015 01:00:48 -0500
Subject: [PATCH] comments

---
 js/models/lattice.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/models/lattice.js b/js/models/lattice.js
index 8b05b5ab..98318114 100644
--- a/js/models/lattice.js
+++ b/js/models/lattice.js
@@ -31,8 +31,8 @@ Lattice = Backbone.Model.extend({
     removeCell: function(object){
         var cells = this.get("cells");
         var index = cells.indexOf(object.parent.myCell);
-        if (index == -1) {
-            console.warn("problem located cell in cell array");
+        if (index == -1) {//I think this is happening when two intersection/remove calls are done on the same cell before the next render loop finished
+            console.warn("problem locating cell in cell array");
             return;
         }
         cells.splice(index, 1);
-- 
GitLab