[wp-trac] [WordPress Trac] #28709: Improve/introduce Customizer JS models for Controls, Sections, and Panels

WordPress Trac noreply at wordpress.org
Wed Oct 29 20:44:06 UTC 2014


#28709: Improve/introduce Customizer JS models for Controls, Sections, and Panels
------------------------------------+-------------------------
 Reporter:  westonruter             |       Owner:  ocean90
     Type:  enhancement             |      Status:  reviewing
 Priority:  high                    |   Milestone:  4.1
Component:  Customize               |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  javascript
------------------------------------+-------------------------

Comment (by westonruter):

 In [attachment:28709.11.diff]:

  * Use `event` instead of `e` for variable names
  * Use non-debounced `reflowPaneContents` when Customizer ready fires. Let
 subsequent calls be debounced when changes happen to the models. Props
 @ocean90
  * Skip doing any DOM manipulation if the ordering is already correct

 Commit HEAD: `f714ff4`

 Code review comment welcomed on the PR: https://github.com/xwpco
 /wordpress-develop/pull/29/files

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


More information about the wp-trac mailing list