Opened 11 years ago
Closed 11 years ago
#27182 closed enhancement (fixed)
Upgrade Backbone to 1.1.2
Reported by: | gcorne | Owned by: | |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | External Libraries | Keywords: | has-patch commit |
Focuses: | javascript | Cc: |
Description
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
Attachments (2)
Change History (6)
This ticket was mentioned in IRC in #wordpress-dev by ocean90. View the logs.
11 years ago
#3
@
11 years ago
27182-02.patch adds backbone.min.js back, which was accidentally left out.
Note: See
TracTickets for help on using
tickets.
27182-01.patch takes care of the upgrade.