[wp-trac] [WordPress Trac] #51621: jQuery Migrate throws error when an object is specified for the name parameter and number for the value parameter

WordPress Trac noreply at wordpress.org
Sat Oct 24 19:44:18 UTC 2020


#51621: jQuery Migrate throws error when an object is specified for the name
parameter and number for the value parameter
--------------------------------------+------------------------------
 Reporter:  mweichert                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Script Loader             |     Version:  trunk
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  ui, javascript
--------------------------------------+------------------------------

Comment (by mweichert):

 It was pointed out to me that the code snippet in the issue description
 had a syntax error. Not sure if anyone can update it but it should be
 this:

 jQuery UI Slider will make a call to jQuery.fn.css like so:

 {{{
 jQuery.css({left: "100%"}, 300);
 }}}

 It does this when the animate setting is specified. See
 https://jsfiddle.net/mweichert/784kjmoh/17/

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


More information about the wp-trac mailing list