ElteHupkes/ember-query-params — pull request #7 by iStefo (2013-08-23 19:13:20+00:00)
Title: Simplify loop initialization so it won't break when minified with uglify-js

Just as I wanted to file this pull request I saw there is already an open pull request on this topic. As this issue cost me nearly an hour today, so I though I could submit the patch that is good to merge with the current version of the project.

Minified und re-beautified before the patch:
```js
for ({
var m = 0;
g.length
}; k > m; m++) {
var o = g[m],
p = o.handler;
p.currentQueryParams && a(f, p.currentQueryParams)
}
```

This obviously makes no sense and throws a syntax error. This fix is mentioned by @maoe

> I ran into the same issue recently. I haven't had a close look inside uglify-js, but you can work around this issue by disabling unused in compress option if it's acceptable to you.

I'd still prefer to fix this in our code as it's easy enough and may keep others from having to dig into this problem on their own...