[wp-trac] [WordPress Trac] #26799: Update to Backbone.js 1.1.0

WordPress Trac noreply at wordpress.org
Tue Jan 28 21:41:52 UTC 2014


#26799: Update to Backbone.js 1.1.0
--------------------------------+------------------------------
 Reporter:  ericlewis           |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+------------------------------

Comment (by gcorne):

 I understand your point of view and think that it would be worthwhile for
 someone to open a dialog with Jeremy or one of the other Backbone leads.
 Since version 1.1 has already been released, I think we shouldn't delay
 updating because the delay will mean that plugin authors writing new code
 may write in a style that is only compatible with older versions of
 Backbone. The good news is that if plugin authors are taking advantage of
 {{{wp.Backbone.View}}}, the change to no longer automatically attach
 {{{this.options}}} won't cause problems. We could consider adding wrappers
 for {{{Backbone.Model}}} and {{{Backbone.Collection}}} to provide us with
 a way to try and avoid backwards-compatibility issues, but that won't help
 Backbone code that has already been written.

 We also could explore using {{{wp.Backbone = Backbone.noConflict()}}} so
 that it is easier for plugin authors to supply their own version of
 Backbone should they choose.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26799#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list