[wp-trac] [WordPress Trac] #30505: Backbone subviews cannot be attached directly to DOM elements

WordPress Trac noreply at wordpress.org
Tue Dec 2 02:42:53 UTC 2014


#30505: Backbone subviews cannot be attached directly to DOM elements
----------------------------+------------------------------
 Reporter:  rmccue          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  javascript
----------------------------+------------------------------

Comment (by adamsilverstein):

 Can you give an example of how you are trying to "attach subviews directly
 to DOM elements" - maybe a code snippet?

 I don't understand the use case and also: I'm confused - are we talking
 wp.Backbone.Subviews:
 https://core.trac.wordpress.org/browser/tags/4.0.1/src/wp-includes/js/wp-
 backbone.js#L12 or wp.Bckbone.View:
 https://core.trac.wordpress.org/browser/tags/4.0.1/src/wp-includes/js/wp-
 backbone.js#L339

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


More information about the wp-trac mailing list