[wp-trac] [WordPress Trac] #26799: Update to Backbone.js 1.1.0
WordPress Trac
noreply at wordpress.org
Thu Jan 9 04:20:13 UTC 2014
#26799: Update to Backbone.js 1.1.0
--------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by ericlewis):
I accidentally started working with 1.1.0 today, and came across an issue
with the WP Media experience.
I tried [http://mikejolley.com/2012/12/using-the-new-wordpress-3-5-media-
uploader-in-plugins/ basic boilerplate] for creating a media modal that
didn't work.
Error I got:
`Uncaught TypeError: Cannot read property 'states' of undefined` in
`media.view.Frame._createStates()`
I assume the issue is this:
> Backbone Views no longer automatically attach options passed to the
constructor as this.options and Backbone Models no longer attach url and
urlRoot options, but you can do it yourself if you prefer.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26799#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list