src/core/query.js in entityjs-0.4.3 vs src/core/query.js in entityjs-0.4.4

- old
+ new

@@ -441,10 +441,10 @@ q.erase(blah, re.e()); */ p.erase = function(ref){ - for(var i=this.length; i--;){ + for(var i=0; i<this.length; i++){ if(this[i] == ref) this.splice(i, 1); } return this; } \ No newline at end of file