[wp-trac] [WordPress Trac] #32911: Review Customizer Nav Menus JS

WordPress Trac noreply at wordpress.org
Tue Jul 21 17:39:26 UTC 2015


#32911: Review Customizer Nav Menus JS
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.3
Component:  Customize       |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  javascript
----------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"33347"]:
 {{{
 #!CommitTicketReference repository="" revision="33347"
 Customizer: Nav Menus JS cleanup, second round

 * Follow the same pattern of namespace instantiation that
 `WidgetCustomizerPreview` uses
 * Remove use of `self` for global delegation
 * Use `api` for `wp.customize` and import only top-level globals
 * Bind `this` where appropriate and disambiguate scope

 See #32911.
 }}}

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


More information about the wp-trac mailing list