matthiaskramm/mrscake — pull request #7 by bakineggs (2014-11-19 08:01:39+00:00)
Title: fix js array membership check

Mrs Cake is incorrectly generating code to check if an array contains an element like the following:

```
state.index(["IL", "CA"]) >= 0
```

This changes it to produce correct code like the following:

```
["IL","CA"].indexOf(state) >= 0
```