kurokikaze/limestone — Issue #22: Errors in iterating in limeston.js
Author: darklow
Created: 2012-01-13 09:35:48+00:00
State: open

Am i missing something or there are some iterating errors.
I see in some places in limestone.js following JS syntax:

```
for (var filter in query.filters) {
request.push.int32(filter.attr.length);
...
```
I think it should be at least like this:

```
for (var filter in query.filters) {
filter = query.filters[filter];
request.push.int32(filter.attr.length);
...
```

Since when iterating using ```for(var X in arr) ``` returns X directly as object and not key?

Probably same is in this line 301:

```
for (var value in filter.values) {
request.push.int64(0, value)
```