batmanjs/batman — pull request #1048 by Arjeno (2014-05-06 16:59:09+00:00)
Title: Batman.Params: Updating URL params without reloading

For #1044 I am looking to change URL params without 'reloading' the page client-side. This way you can query for collections and update URL without any overhead. This enables hard refreshes and remembering your query/filter params.

It consists of `Batman.Params` and `Batman.UrlParams` which is set in the app and replaces `Batman.Hash` as `currentParams`.

__Batman.UrlParams__
```coffeescript
Batman.currentApp.get('currentParams.url').update(page: 5) # immediately updates the URL and the params set in Batman.Params
```

__Controller example__
```coffeescript
index: ->
@paginator = new Paginator
@paginator.observe 'change', (params) =>
@get('currentParams.url').update(params)
```

What do you guys think?

PS: I'm having a bit of trouble running the entire test suite. So I'm dependent on Travis to build it.