[wp-trac] [WordPress Trac] #25824: Merge dashboard page plugin into core

WordPress Trac noreply at wordpress.org
Tue Nov 26 04:00:03 UTC 2013


#25824: Merge dashboard page plugin into core
----------------------------+------------------
 Reporter:  lessbloat       |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.8
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by kadamwhite):

 I'd opt for the more explicit "on" syntax for the event handler:
 {{{#!javascript
 $window.on( 'resize', _.debounce(function() {
     updateColumnCount( $window, metaboxHolder );
 }, 30 ));
 }}}
 Makes it more obvious you're telling the browser to do something ON
 resize, and not to, in fact, resize the browser (which in my experience
 most people new to jQuery think ".resize" does by default)

 Reviewing the rest now

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25824#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list