rendrjs/rendr — pull request #343 by por (2014-03-16 22:33:05+00:00)
Title: Upgrade to Backbone 1.1.2 — Implements #148

This PR replaces #150.

I have tested this update as best as I could. All tests are green, also for the example apps, and they all seem to run like normal. Updating my own app also went smoothly, but please have a look at the Backbone.js [1.0.0...1.1.2 changelog](https://github.com/jashkenas/backbone/compare/1.0.0...1.1.2) to check for any potential breaking changes.

> 1.1.2 — Feb. 20, 2014 — [Diff](https://github.com/jashkenas/backbone/compare/1.1.1...1.1.2)
> * Backbone no longer tries to require jQuery in Node/CommonJS environments, for better compatibility with folks using Browserify. If you'd like to have Backbone use jQuery from Node, assign it like so: Backbone.$ = require('jquery');
* Bugfix for route parameters with newlines in them.

> 1.1.1 — Feb. 13, 2014 — [Diff](https://github.com/jashkenas/backbone/compare/1.1.0...1.1.1)
> * Backbone now registers itself for AMD (Require.js), Bower and Component, as well as being a CommonJS module and a regular (Java)Script. Whew.
* Added an execute hook to the Router, which allows you to hook in and custom-parse route arguments, like query strings, for example.
* Performance fine-tuning for Backbone Events.
* Better matching for Unicode in routes, in old browsers.

> 1.1.0 — Oct. 10, 2013 — [Diff](https://github.com/jashkenas/backbone/compare/1.0.0...1.1.0)

> * Made the return values of Collection's `set`, `add`, `remove`, and `reset` more useful. Instead of returning `this`, they now return the changed (added, removed or updated) model or list of models.
* Backbone Views no longer automatically attach options passed to the constructor as `this.options`, but you can do it yourself if you prefer.
* All `"invalid"` events now pass consistent arguments. First the model in question, then the error object, then options.
* You are no longer permitted to change the id of your model during `parse`. Use `idAttribute` instead.
* On the other hand, `parse` is now an excellent place to extract and vivify incoming nested JSON into associated submodels.
* Many tweaks, optimizations and bugfixes relating to Backbone 1.0, including URL overrides, mutation of options, bulk ordering, trailing slashes, edge-case listener leaks, nested model parsing...