[wp-trac] [WordPress Trac] #27182: Upgrade Backbone to 1.1.2
WordPress Trac
noreply at wordpress.org
Sat Feb 22 01:09:53 UTC 2014
#27182: Upgrade Backbone to 1.1.2
--------------------------------+-----------------
Reporter: gcorne | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: External Libraries | Version:
Severity: normal | Keywords:
Focuses: javascript |
--------------------------------+-----------------
Backbone 1.1.1 and 1.1.2 have both been released. We should upgrade.
Changelog for 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.
Change log for 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.
In particular, the addition of an {{{execute}}} hook may help us with
#26543
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27182>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list