<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[21632] trunk/wp-includes: Update jQuery Color Animations plugin to 2.1.0.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/21632">21632</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2012-08-27 23:27:14 +0000 (Mon, 27 Aug 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Update jQuery Color Animations plugin to 2.1.0. Props gnarf. fixes <a href="http://core.trac.wordpress.org/ticket/21692">#21692</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsjqueryjquerycolorjs">trunk/wp-includes/js/jquery/jquery.color.js</a></li>
<li><a href="#trunkwpincludesjsjqueryjquerycolorminjs">trunk/wp-includes/js/jquery/jquery.color.min.js</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjsjqueryjquerycolorjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/jquery.color.js (21631 => 21632)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/jquery.color.js        2012-08-27 22:39:01 UTC (rev 21631)
+++ trunk/wp-includes/js/jquery/jquery.color.js        2012-08-27 23:27:14 UTC (rev 21632)
</span><span class="lines">@@ -1,128 +1,810 @@
</span><del>-/*
- * jQuery Color Animations
- * Copyright 2007 John Resig
- * Released under the MIT and GPL licenses.
</del><ins>+/*!
+ * jQuery Color Animations v2.1.0
+ * http://jquery.com/
+ *
+ * Copyright 2012 jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ *
+ * Date: Fri Aug 24 12:02:24 2012 -0500
</ins><span class="cx">  */
</span><ins>+(function( jQuery, undefined ) {
</ins><span class="cx"> 
</span><del>-(function(jQuery){
</del><ins>+        var stepHooks = &quot;backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor&quot;,
</ins><span class="cx"> 
</span><del>-    // We override the animation for all of these color styles
-    jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){
-        jQuery.fx.step[attr] = function(fx){
-            if ( fx.state == 0 ) {
-                fx.start = getColor( fx.elem, attr );
-                fx.end = getRGB( fx.end );
-            }
</del><ins>+        // plusequals test for += 100 -= 100
+        rplusequals = /^([\-+])=\s*(\d+\.?\d*)/,
+        // a set of RE's that can match strings and generate color tuples.
+        stringParsers = [{
+                        re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
+                        parse: function( execResult ) {
+                                return [
+                                        execResult[ 1 ],
+                                        execResult[ 2 ],
+                                        execResult[ 3 ],
+                                        execResult[ 4 ]
+                                ];
+                        }
+                }, {
+                        re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
+                        parse: function( execResult ) {
+                                return [
+                                        execResult[ 1 ] * 2.55,
+                                        execResult[ 2 ] * 2.55,
+                                        execResult[ 3 ] * 2.55,
+                                        execResult[ 4 ]
+                                ];
+                        }
+                }, {
+                        // this regex ignores A-F because it's compared against an already lowercased string
+                        re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,
+                        parse: function( execResult ) {
+                                return [
+                                        parseInt( execResult[ 1 ], 16 ),
+                                        parseInt( execResult[ 2 ], 16 ),
+                                        parseInt( execResult[ 3 ], 16 )
+                                ];
+                        }
+                }, {
+                        // this regex ignores A-F because it's compared against an already lowercased string
+                        re: /#([a-f0-9])([a-f0-9])([a-f0-9])/,
+                        parse: function( execResult ) {
+                                return [
+                                        parseInt( execResult[ 1 ] + execResult[ 1 ], 16 ),
+                                        parseInt( execResult[ 2 ] + execResult[ 2 ], 16 ),
+                                        parseInt( execResult[ 3 ] + execResult[ 3 ], 16 )
+                                ];
+                        }
+                }, {
+                        re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
+                        space: &quot;hsla&quot;,
+                        parse: function( execResult ) {
+                                return [
+                                        execResult[ 1 ],
+                                        execResult[ 2 ] / 100,
+                                        execResult[ 3 ] / 100,
+                                        execResult[ 4 ]
+                                ];
+                        }
+                }],
</ins><span class="cx"> 
</span><del>-            fx.elem.style[attr] = &quot;rgb(&quot; + [
-                Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),
-                Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),
-                Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)
-            ].join(&quot;,&quot;) + &quot;)&quot;;
-        }
-    });
</del><ins>+        // jQuery.Color( )
+        color = jQuery.Color = function( color, green, blue, alpha ) {
+                return new jQuery.Color.fn.parse( color, green, blue, alpha );
+        },
+        spaces = {
+                rgba: {
+                        props: {
+                                red: {
+                                        idx: 0,
+                                        type: &quot;byte&quot;
+                                },
+                                green: {
+                                        idx: 1,
+                                        type: &quot;byte&quot;
+                                },
+                                blue: {
+                                        idx: 2,
+                                        type: &quot;byte&quot;
+                                }
+                        }
+                },
</ins><span class="cx"> 
</span><del>-    // Color Conversion functions from highlightFade
-    // By Blair Mitchelmore
-    // http://jquery.offput.ca/highlightFade/
</del><ins>+                hsla: {
+                        props: {
+                                hue: {
+                                        idx: 0,
+                                        type: &quot;degrees&quot;
+                                },
+                                saturation: {
+                                        idx: 1,
+                                        type: &quot;percent&quot;
+                                },
+                                lightness: {
+                                        idx: 2,
+                                        type: &quot;percent&quot;
+                                }
+                        }
+                }
+        },
+        propTypes = {
+                &quot;byte&quot;: {
+                        floor: true,
+                        max: 255
+                },
+                &quot;percent&quot;: {
+                        max: 1
+                },
+                &quot;degrees&quot;: {
+                        mod: 360,
+                        floor: true
+                }
+        },
+        support = color.support = {},
</ins><span class="cx"> 
</span><del>-    // Parse strings looking for color tuples [255,255,255]
-    function getRGB(color) {
-        var result;
</del><ins>+        // element for support tests
+        supportElem = jQuery( &quot;&lt;p&gt;&quot; )[ 0 ],
</ins><span class="cx"> 
</span><del>-        // Check if we're already dealing with an array of colors
-        if ( color &amp;&amp; color.constructor == Array &amp;&amp; color.length == 3 )
-            return color;
</del><ins>+        // colors = jQuery.Color.names
+        colors,
</ins><span class="cx"> 
</span><del>-        // Look for rgb(num,num,num)
-        if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
-            return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];
</del><ins>+        // local aliases of functions called often
+        each = jQuery.each;
</ins><span class="cx"> 
</span><del>-        // Look for rgb(num%,num%,num%)
-        if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
-            return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];
</del><ins>+// determine rgba support immediately
+supportElem.style.cssText = &quot;background-color:rgba(1,1,1,.5)&quot;;
+support.rgba = supportElem.style.backgroundColor.indexOf( &quot;rgba&quot; ) &gt; -1;
</ins><span class="cx"> 
</span><del>-        // Look for #a0b1c2
-        if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
-            return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];
</del><ins>+// define cache name and alpha properties
+// for rgba and hsla spaces
+each( spaces, function( spaceName, space ) {
+        space.cache = &quot;_&quot; + spaceName;
+        space.props.alpha = {
+                idx: 3,
+                type: &quot;percent&quot;,
+                def: 1
+        };
+});
</ins><span class="cx"> 
</span><del>-        // Look for #fff
-        if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
-            return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];
</del><ins>+function clamp( value, prop, allowEmpty ) {
+        var type = propTypes[ prop.type ] || {};
</ins><span class="cx"> 
</span><del>-        // Look for rgba(0, 0, 0, 0) == transparent in Safari 3
-        if (result = /rgba\(0, 0, 0, 0\)/.exec(color))
-            return colors['transparent']
</del><ins>+        if ( value == null ) {
+                return (allowEmpty || !prop.def) ? null : prop.def;
+        }
</ins><span class="cx"> 
</span><del>-        // Otherwise, we're most likely dealing with a named color
-        return colors[jQuery.trim(color).toLowerCase()];
-    }
</del><ins>+        // ~~ is an short way of doing floor for positive numbers
+        value = type.floor ? ~~value : parseFloat( value );
</ins><span class="cx"> 
</span><del>-    function getColor(elem, attr) {
-        var color;
</del><ins>+        // IE will pass in empty strings as value for alpha,
+        // which will hit this case
+        if ( isNaN( value ) ) {
+                return prop.def;
+        }
</ins><span class="cx"> 
</span><del>-        do {
-            color = jQuery.curCSS(elem, attr);
</del><ins>+        if ( type.mod ) {
+                // we add mod before modding to make sure that negatives values
+                // get converted properly: -10 -&gt; 350
+                return (value + type.mod) % type.mod;
+        }
</ins><span class="cx"> 
</span><del>-            // Keep going until we find an element that has color, or we hit the body
-            if ( color != '' &amp;&amp; color != 'transparent' || jQuery.nodeName(elem, &quot;body&quot;) )
-                break;
</del><ins>+        // for now all property types without mod have min and max
+        return 0 &gt; value ? 0 : type.max &lt; value ? type.max : value;
+}
</ins><span class="cx"> 
</span><del>-            attr = &quot;backgroundColor&quot;;
-        } while ( elem = elem.parentNode );
</del><ins>+function stringParse( string ) {
+        var inst = color(),
+                rgba = inst._rgba = [];
</ins><span class="cx"> 
</span><del>-        return getRGB(color);
-    };
</del><ins>+        string = string.toLowerCase();
</ins><span class="cx"> 
</span><del>-    // Some named colors to work with
-    // From Interface by Stefan Petre
-    // http://interface.eyecon.ro/
</del><ins>+        each( stringParsers, function( i, parser ) {
+                var parsed,
+                        match = parser.re.exec( string ),
+                        values = match &amp;&amp; parser.parse( match ),
+                        spaceName = parser.space || &quot;rgba&quot;;
</ins><span class="cx"> 
</span><del>-    var colors = {
-        aqua:[0,255,255],
-        azure:[240,255,255],
-        beige:[245,245,220],
-        black:[0,0,0],
-        blue:[0,0,255],
-        brown:[165,42,42],
-        cyan:[0,255,255],
-        darkblue:[0,0,139],
-        darkcyan:[0,139,139],
-        darkgrey:[169,169,169],
-        darkgreen:[0,100,0],
-        darkkhaki:[189,183,107],
-        darkmagenta:[139,0,139],
-        darkolivegreen:[85,107,47],
-        darkorange:[255,140,0],
-        darkorchid:[153,50,204],
-        darkred:[139,0,0],
-        darksalmon:[233,150,122],
-        darkviolet:[148,0,211],
-        fuchsia:[255,0,255],
-        gold:[255,215,0],
-        green:[0,128,0],
-        indigo:[75,0,130],
-        khaki:[240,230,140],
-        lightblue:[173,216,230],
-        lightcyan:[224,255,255],
-        lightgreen:[144,238,144],
-        lightgrey:[211,211,211],
-        lightpink:[255,182,193],
-        lightyellow:[255,255,224],
-        lime:[0,255,0],
-        magenta:[255,0,255],
-        maroon:[128,0,0],
-        navy:[0,0,128],
-        olive:[128,128,0],
-        orange:[255,165,0],
-        pink:[255,192,203],
-        purple:[128,0,128],
-        violet:[128,0,128],
-        red:[255,0,0],
-        silver:[192,192,192],
-        white:[255,255,255],
-        yellow:[255,255,0],
-        transparent: [255,255,255]
-    };
</del><ins>+                if ( values ) {
+                        parsed = inst[ spaceName ]( values );
</ins><span class="cx"> 
</span><del>-})(jQuery);
</del><ins>+                        // if this was an rgba parse the assignment might happen twice
+                        // oh well....
+                        inst[ spaces[ spaceName ].cache ] = parsed[ spaces[ spaceName ].cache ];
+                        rgba = inst._rgba = parsed._rgba;
+
+                        // exit each( stringParsers ) here because we matched
+                        return false;
+                }
+        });
+
+        // Found a stringParser that handled it
+        if ( rgba.length ) {
+
+                // if this came from a parsed string, force &quot;transparent&quot; when alpha is 0
+                // chrome, (and maybe others) return &quot;transparent&quot; as rgba(0,0,0,0)
+                if ( rgba.join() === &quot;0,0,0,0&quot; ) {
+                        jQuery.extend( rgba, colors.transparent );
+                }
+                return inst;
+        }
+
+        // named colors
+        return colors[ string ];
+}
+
+color.fn = jQuery.extend( color.prototype, {
+        parse: function( red, green, blue, alpha ) {
+                if ( red === undefined ) {
+                        this._rgba = [ null, null, null, null ];
+                        return this;
+                }
+                if ( red.jquery || red.nodeType ) {
+                        red = jQuery( red ).css( green );
+                        green = undefined;
+                }
+
+                var inst = this,
+                        type = jQuery.type( red ),
+                        rgba = this._rgba = [],
+                        source;
+
+                // more than 1 argument specified - assume ( red, green, blue, alpha )
+                if ( green !== undefined ) {
+                        red = [ red, green, blue, alpha ];
+                        type = &quot;array&quot;;
+                }
+
+                if ( type === &quot;string&quot; ) {
+                        return this.parse( stringParse( red ) || colors._default );
+                }
+
+                if ( type === &quot;array&quot; ) {
+                        each( spaces.rgba.props, function( key, prop ) {
+                                rgba[ prop.idx ] = clamp( red[ prop.idx ], prop );
+                        });
+                        return this;
+                }
+
+                if ( type === &quot;object&quot; ) {
+                        if ( red instanceof color ) {
+                                each( spaces, function( spaceName, space ) {
+                                        if ( red[ space.cache ] ) {
+                                                inst[ space.cache ] = red[ space.cache ].slice();
+                                        }
+                                });
+                        } else {
+                                each( spaces, function( spaceName, space ) {
+                                        var cache = space.cache;
+                                        each( space.props, function( key, prop ) {
+
+                                                // if the cache doesn't exist, and we know how to convert
+                                                if ( !inst[ cache ] &amp;&amp; space.to ) {
+
+                                                        // if the value was null, we don't need to copy it
+                                                        // if the key was alpha, we don't need to copy it either
+                                                        if ( key === &quot;alpha&quot; || red[ key ] == null ) {
+                                                                return;
+                                                        }
+                                                        inst[ cache ] = space.to( inst._rgba );
+                                                }
+
+                                                // this is the only case where we allow nulls for ALL properties.
+                                                // call clamp with alwaysAllowEmpty
+                                                inst[ cache ][ prop.idx ] = clamp( red[ key ], prop, true );
+                                        });
+
+                                        // everything defined but alpha?
+                                        if ( inst[ cache ] &amp;&amp; jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) &lt; 0 ) {
+                                                // use the default of 1
+                                                inst[ cache ][ 3 ] = 1;
+                                                if ( space.from ) {
+                                                        inst._rgba = space.from( inst[ cache ] );
+                                                }
+                                        }
+                                });
+                        }
+                        return this;
+                }
+        },
+        is: function( compare ) {
+                var is = color( compare ),
+                        same = true,
+                        inst = this;
+
+                each( spaces, function( _, space ) {
+                        var localCache,
+                                isCache = is[ space.cache ];
+                        if (isCache) {
+                                localCache = inst[ space.cache ] || space.to &amp;&amp; space.to( inst._rgba ) || [];
+                                each( space.props, function( _, prop ) {
+                                        if ( isCache[ prop.idx ] != null ) {
+                                                same = ( isCache[ prop.idx ] === localCache[ prop.idx ] );
+                                                return same;
+                                        }
+                                });
+                        }
+                        return same;
+                });
+                return same;
+        },
+        _space: function() {
+                var used = [],
+                        inst = this;
+                each( spaces, function( spaceName, space ) {
+                        if ( inst[ space.cache ] ) {
+                                used.push( spaceName );
+                        }
+                });
+                return used.pop();
+        },
+        transition: function( other, distance ) {
+                var end = color( other ),
+                        spaceName = end._space(),
+                        space = spaces[ spaceName ],
+                        startColor = this.alpha() === 0 ? color( &quot;transparent&quot; ) : this,
+                        start = startColor[ space.cache ] || space.to( startColor._rgba ),
+                        result = start.slice();
+
+                end = end[ space.cache ];
+                each( space.props, function( key, prop ) {
+                        var index = prop.idx,
+                                startValue = start[ index ],
+                                endValue = end[ index ],
+                                type = propTypes[ prop.type ] || {};
+
+                        // if null, don't override start value
+                        if ( endValue === null ) {
+                                return;
+                        }
+                        // if null - use end
+                        if ( startValue === null ) {
+                                result[ index ] = endValue;
+                        } else {
+                                if ( type.mod ) {
+                                        if ( endValue - startValue &gt; type.mod / 2 ) {
+                                                startValue += type.mod;
+                                        } else if ( startValue - endValue &gt; type.mod / 2 ) {
+                                                startValue -= type.mod;
+                                        }
+                                }
+                                result[ index ] = clamp( ( endValue - startValue ) * distance + startValue, prop );
+                        }
+                });
+                return this[ spaceName ]( result );
+        },
+        blend: function( opaque ) {
+                // if we are already opaque - return ourself
+                if ( this._rgba[ 3 ] === 1 ) {
+                        return this;
+                }
+
+                var rgb = this._rgba.slice(),
+                        a = rgb.pop(),
+                        blend = color( opaque )._rgba;
+
+                return color( jQuery.map( rgb, function( v, i ) {
+                        return ( 1 - a ) * blend[ i ] + a * v;
+                }));
+        },
+        toRgbaString: function() {
+                var prefix = &quot;rgba(&quot;,
+                        rgba = jQuery.map( this._rgba, function( v, i ) {
+                                return v == null ? ( i &gt; 2 ? 1 : 0 ) : v;
+                        });
+
+                if ( rgba[ 3 ] === 1 ) {
+                        rgba.pop();
+                        prefix = &quot;rgb(&quot;;
+                }
+
+                return prefix + rgba.join() + &quot;)&quot;;
+        },
+        toHslaString: function() {
+                var prefix = &quot;hsla(&quot;,
+                        hsla = jQuery.map( this.hsla(), function( v, i ) {
+                                if ( v == null ) {
+                                        v = i &gt; 2 ? 1 : 0;
+                                }
+
+                                // catch 1 and 2
+                                if ( i &amp;&amp; i &lt; 3 ) {
+                                        v = Math.round( v * 100 ) + &quot;%&quot;;
+                                }
+                                return v;
+                        });
+
+                if ( hsla[ 3 ] === 1 ) {
+                        hsla.pop();
+                        prefix = &quot;hsl(&quot;;
+                }
+                return prefix + hsla.join() + &quot;)&quot;;
+        },
+        toHexString: function( includeAlpha ) {
+                var rgba = this._rgba.slice(),
+                        alpha = rgba.pop();
+
+                if ( includeAlpha ) {
+                        rgba.push( ~~( alpha * 255 ) );
+                }
+
+                return &quot;#&quot; + jQuery.map( rgba, function( v, i ) {
+
+                        // default to 0 when nulls exist
+                        v = ( v || 0 ).toString( 16 );
+                        return v.length === 1 ? &quot;0&quot; + v : v;
+                }).join(&quot;&quot;);
+        },
+        toString: function() {
+                return this._rgba[ 3 ] === 0 ? &quot;transparent&quot; : this.toRgbaString();
+        }
+});
+color.fn.parse.prototype = color.fn;
+
+// hsla conversions adapted from:
+// https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021
+
+function hue2rgb( p, q, h ) {
+        h = ( h + 1 ) % 1;
+        if ( h * 6 &lt; 1 ) {
+                return p + (q - p) * h * 6;
+        }
+        if ( h * 2 &lt; 1) {
+                return q;
+        }
+        if ( h * 3 &lt; 2 ) {
+                return p + (q - p) * ((2/3) - h) * 6;
+        }
+        return p;
+}
+
+spaces.hsla.to = function ( rgba ) {
+        if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
+                return [ null, null, null, rgba[ 3 ] ];
+        }
+        var r = rgba[ 0 ] / 255,
+                g = rgba[ 1 ] / 255,
+                b = rgba[ 2 ] / 255,
+                a = rgba[ 3 ],
+                max = Math.max( r, g, b ),
+                min = Math.min( r, g, b ),
+                diff = max - min,
+                add = max + min,
+                l = add * 0.5,
+                h, s;
+
+        if ( min === max ) {
+                h = 0;
+        } else if ( r === max ) {
+                h = ( 60 * ( g - b ) / diff ) + 360;
+        } else if ( g === max ) {
+                h = ( 60 * ( b - r ) / diff ) + 120;
+        } else {
+                h = ( 60 * ( r - g ) / diff ) + 240;
+        }
+
+        if ( l === 0 || l === 1 ) {
+                s = l;
+        } else if ( l &lt;= 0.5 ) {
+                s = diff / add;
+        } else {
+                s = diff / ( 2 - add );
+        }
+        return [ Math.round(h) % 360, s, l, a == null ? 1 : a ];
+};
+
+spaces.hsla.from = function ( hsla ) {
+        if ( hsla[ 0 ] == null || hsla[ 1 ] == null || hsla[ 2 ] == null ) {
+                return [ null, null, null, hsla[ 3 ] ];
+        }
+        var h = hsla[ 0 ] / 360,
+                s = hsla[ 1 ],
+                l = hsla[ 2 ],
+                a = hsla[ 3 ],
+                q = l &lt;= 0.5 ? l * ( 1 + s ) : l + s - l * s,
+                p = 2 * l - q,
+                r, g, b;
+
+        return [
+                Math.round( hue2rgb( p, q, h + ( 1 / 3 ) ) * 255 ),
+                Math.round( hue2rgb( p, q, h ) * 255 ),
+                Math.round( hue2rgb( p, q, h - ( 1 / 3 ) ) * 255 ),
+                a
+        ];
+};
+
+
+each( spaces, function( spaceName, space ) {
+        var props = space.props,
+                cache = space.cache,
+                to = space.to,
+                from = space.from;
+
+        // makes rgba() and hsla()
+        color.fn[ spaceName ] = function( value ) {
+
+                // generate a cache for this space if it doesn't exist
+                if ( to &amp;&amp; !this[ cache ] ) {
+                        this[ cache ] = to( this._rgba );
+                }
+                if ( value === undefined ) {
+                        return this[ cache ].slice();
+                }
+
+                var ret,
+                        type = jQuery.type( value ),
+                        arr = ( type === &quot;array&quot; || type === &quot;object&quot; ) ? value : arguments,
+                        local = this[ cache ].slice();
+
+                each( props, function( key, prop ) {
+                        var val = arr[ type === &quot;object&quot; ? key : prop.idx ];
+                        if ( val == null ) {
+                                val = local[ prop.idx ];
+                        }
+                        local[ prop.idx ] = clamp( val, prop );
+                });
+
+                if ( from ) {
+                        ret = color( from( local ) );
+                        ret[ cache ] = local;
+                        return ret;
+                } else {
+                        return color( local );
+                }
+        };
+
+        // makes red() green() blue() alpha() hue() saturation() lightness()
+        each( props, function( key, prop ) {
+                // alpha is included in more than one space
+                if ( color.fn[ key ] ) {
+                        return;
+                }
+                color.fn[ key ] = function( value ) {
+                        var vtype = jQuery.type( value ),
+                                fn = ( key === &quot;alpha&quot; ? ( this._hsla ? &quot;hsla&quot; : &quot;rgba&quot; ) : spaceName ),
+                                local = this[ fn ](),
+                                cur = local[ prop.idx ],
+                                match;
+
+                        if ( vtype === &quot;undefined&quot; ) {
+                                return cur;
+                        }
+
+                        if ( vtype === &quot;function&quot; ) {
+                                value = value.call( this, cur );
+                                vtype = jQuery.type( value );
+                        }
+                        if ( value == null &amp;&amp; prop.empty ) {
+                                return this;
+                        }
+                        if ( vtype === &quot;string&quot; ) {
+                                match = rplusequals.exec( value );
+                                if ( match ) {
+                                        value = cur + parseFloat( match[ 2 ] ) * ( match[ 1 ] === &quot;+&quot; ? 1 : -1 );
+                                }
+                        }
+                        local[ prop.idx ] = value;
+                        return this[ fn ]( local );
+                };
+        });
+});
+
+// add cssHook and .fx.step function for each named hook.
+// accept a space separated string of properties
+color.hook = function( hook ) {
+        var hooks = hook.split( &quot; &quot; );
+        each( hooks, function( i, hook ) {
+                jQuery.cssHooks[ hook ] = {
+                        set: function( elem, value ) {
+                                var parsed, curElem,
+                                        backgroundColor = &quot;&quot;;
+
+                                if ( jQuery.type( value ) !== &quot;string&quot; || ( parsed = stringParse( value ) ) ) {
+                                        value = color( parsed || value );
+                                        if ( !support.rgba &amp;&amp; value._rgba[ 3 ] !== 1 ) {
+                                                curElem = hook === &quot;backgroundColor&quot; ? elem.parentNode : elem;
+                                                while (
+                                                        (backgroundColor === &quot;&quot; || backgroundColor === &quot;transparent&quot;) &amp;&amp;
+                                                        curElem &amp;&amp; curElem.style
+                                                ) {
+                                                        try {
+                                                                backgroundColor = jQuery.css( curElem, &quot;backgroundColor&quot; );
+                                                                curElem = curElem.parentNode;
+                                                        } catch ( e ) {
+                                                        }
+                                                }
+
+                                                value = value.blend( backgroundColor &amp;&amp; backgroundColor !== &quot;transparent&quot; ?
+                                                        backgroundColor :
+                                                        &quot;_default&quot; );
+                                        }
+
+                                        value = value.toRgbaString();
+                                }
+                                try {
+                                        elem.style[ hook ] = value;
+                                } catch( value ) {
+                                        // wrapped to prevent IE from throwing errors on &quot;invalid&quot; values like 'auto' or 'inherit'
+                                }
+                        }
+                };
+                jQuery.fx.step[ hook ] = function( fx ) {
+                        if ( !fx.colorInit ) {
+                                fx.start = color( fx.elem, hook );
+                                fx.end = color( fx.end );
+                                fx.colorInit = true;
+                        }
+                        jQuery.cssHooks[ hook ].set( fx.elem, fx.start.transition( fx.end, fx.pos ) );
+                };
+        });
+
+};
+
+color.hook( stepHooks );
+
+jQuery.cssHooks.borderColor = {
+        expand: function( value ) {
+                var expanded = {};
+
+                each( [ &quot;Top&quot;, &quot;Right&quot;, &quot;Bottom&quot;, &quot;Left&quot; ], function( i, part ) {
+                        expanded[ &quot;border&quot; + part + &quot;Color&quot; ] = value;
+                });
+                return expanded;
+        }
+};
+
+// Basic color names only.
+// Usage of any of the other color names requires adding yourself or including
+// jquery.color.svg-names.js.
+colors = jQuery.Color.names = {
+        // 4.1. Basic color keywords
+        aqua: &quot;#00ffff&quot;,
+        black: &quot;#000000&quot;,
+        blue: &quot;#0000ff&quot;,
+        fuchsia: &quot;#ff00ff&quot;,
+        gray: &quot;#808080&quot;,
+        green: &quot;#008000&quot;,
+        lime: &quot;#00ff00&quot;,
+        maroon: &quot;#800000&quot;,
+        navy: &quot;#000080&quot;,
+        olive: &quot;#808000&quot;,
+        purple: &quot;#800080&quot;,
+        red: &quot;#ff0000&quot;,
+        silver: &quot;#c0c0c0&quot;,
+        teal: &quot;#008080&quot;,
+        white: &quot;#ffffff&quot;,
+        yellow: &quot;#ffff00&quot;,
+
+        // 4.2.3. â€˜transparent’ color keyword
+        transparent: [ null, null, null, 0 ],
+
+        _default: &quot;#ffffff&quot;
+};
+
+})( jQuery );
+
+/*!
+ * jQuery Color Animations v2.1.0 - SVG Color Names
+ * http://jquery.org/
+ *
+ * Remaining HTML/CSS color names per W3C's CSS Color Module Level 3.
+ * http://www.w3.org/TR/css3-color/#svg-color
+ *
+ * Copyright 2012 jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ *
+ * Date: Fri Aug 24 12:02:24 2012 -0500
+ */
+jQuery.extend( jQuery.Color.names, {
+        // 4.3. Extended color keywords (minus the basic ones in core color plugin)
+        aliceblue: &quot;#f0f8ff&quot;,
+        antiquewhite: &quot;#faebd7&quot;,
+        aquamarine: &quot;#7fffd4&quot;,
+        azure: &quot;#f0ffff&quot;,
+        beige: &quot;#f5f5dc&quot;,
+        bisque: &quot;#ffe4c4&quot;,
+        blanchedalmond: &quot;#ffebcd&quot;,
+        blueviolet: &quot;#8a2be2&quot;,
+        brown: &quot;#a52a2a&quot;,
+        burlywood: &quot;#deb887&quot;,
+        cadetblue: &quot;#5f9ea0&quot;,
+        chartreuse: &quot;#7fff00&quot;,
+        chocolate: &quot;#d2691e&quot;,
+        coral: &quot;#ff7f50&quot;,
+        cornflowerblue: &quot;#6495ed&quot;,
+        cornsilk: &quot;#fff8dc&quot;,
+        crimson: &quot;#dc143c&quot;,
+        cyan: &quot;#00ffff&quot;,
+        darkblue: &quot;#00008b&quot;,
+        darkcyan: &quot;#008b8b&quot;,
+        darkgoldenrod: &quot;#b8860b&quot;,
+        darkgray: &quot;#a9a9a9&quot;,
+        darkgreen: &quot;#006400&quot;,
+        darkgrey: &quot;#a9a9a9&quot;,
+        darkkhaki: &quot;#bdb76b&quot;,
+        darkmagenta: &quot;#8b008b&quot;,
+        darkolivegreen: &quot;#556b2f&quot;,
+        darkorange: &quot;#ff8c00&quot;,
+        darkorchid: &quot;#9932cc&quot;,
+        darkred: &quot;#8b0000&quot;,
+        darksalmon: &quot;#e9967a&quot;,
+        darkseagreen: &quot;#8fbc8f&quot;,
+        darkslateblue: &quot;#483d8b&quot;,
+        darkslategray: &quot;#2f4f4f&quot;,
+        darkslategrey: &quot;#2f4f4f&quot;,
+        darkturquoise: &quot;#00ced1&quot;,
+        darkviolet: &quot;#9400d3&quot;,
+        deeppink: &quot;#ff1493&quot;,
+        deepskyblue: &quot;#00bfff&quot;,
+        dimgray: &quot;#696969&quot;,
+        dimgrey: &quot;#696969&quot;,
+        dodgerblue: &quot;#1e90ff&quot;,
+        firebrick: &quot;#b22222&quot;,
+        floralwhite: &quot;#fffaf0&quot;,
+        forestgreen: &quot;#228b22&quot;,
+        gainsboro: &quot;#dcdcdc&quot;,
+        ghostwhite: &quot;#f8f8ff&quot;,
+        gold: &quot;#ffd700&quot;,
+        goldenrod: &quot;#daa520&quot;,
+        greenyellow: &quot;#adff2f&quot;,
+        grey: &quot;#808080&quot;,
+        honeydew: &quot;#f0fff0&quot;,
+        hotpink: &quot;#ff69b4&quot;,
+        indianred: &quot;#cd5c5c&quot;,
+        indigo: &quot;#4b0082&quot;,
+        ivory: &quot;#fffff0&quot;,
+        khaki: &quot;#f0e68c&quot;,
+        lavender: &quot;#e6e6fa&quot;,
+        lavenderblush: &quot;#fff0f5&quot;,
+        lawngreen: &quot;#7cfc00&quot;,
+        lemonchiffon: &quot;#fffacd&quot;,
+        lightblue: &quot;#add8e6&quot;,
+        lightcoral: &quot;#f08080&quot;,
+        lightcyan: &quot;#e0ffff&quot;,
+        lightgoldenrodyellow: &quot;#fafad2&quot;,
+        lightgray: &quot;#d3d3d3&quot;,
+        lightgreen: &quot;#90ee90&quot;,
+        lightgrey: &quot;#d3d3d3&quot;,
+        lightpink: &quot;#ffb6c1&quot;,
+        lightsalmon: &quot;#ffa07a&quot;,
+        lightseagreen: &quot;#20b2aa&quot;,
+        lightskyblue: &quot;#87cefa&quot;,
+        lightslategray: &quot;#778899&quot;,
+        lightslategrey: &quot;#778899&quot;,
+        lightsteelblue: &quot;#b0c4de&quot;,
+        lightyellow: &quot;#ffffe0&quot;,
+        limegreen: &quot;#32cd32&quot;,
+        linen: &quot;#faf0e6&quot;,
+        mediumaquamarine: &quot;#66cdaa&quot;,
+        mediumblue: &quot;#0000cd&quot;,
+        mediumorchid: &quot;#ba55d3&quot;,
+        mediumpurple: &quot;#9370db&quot;,
+        mediumseagreen: &quot;#3cb371&quot;,
+        mediumslateblue: &quot;#7b68ee&quot;,
+        mediumspringgreen: &quot;#00fa9a&quot;,
+        mediumturquoise: &quot;#48d1cc&quot;,
+        mediumvioletred: &quot;#c71585&quot;,
+        midnightblue: &quot;#191970&quot;,
+        mintcream: &quot;#f5fffa&quot;,
+        mistyrose: &quot;#ffe4e1&quot;,
+        moccasin: &quot;#ffe4b5&quot;,
+        navajowhite: &quot;#ffdead&quot;,
+        oldlace: &quot;#fdf5e6&quot;,
+        olivedrab: &quot;#6b8e23&quot;,
+        orange: &quot;#ffa500&quot;,
+        orangered: &quot;#ff4500&quot;,
+        orchid: &quot;#da70d6&quot;,
+        palegoldenrod: &quot;#eee8aa&quot;,
+        palegreen: &quot;#98fb98&quot;,
+        paleturquoise: &quot;#afeeee&quot;,
+        palevioletred: &quot;#db7093&quot;,
+        papayawhip: &quot;#ffefd5&quot;,
+        peachpuff: &quot;#ffdab9&quot;,
+        peru: &quot;#cd853f&quot;,
+        pink: &quot;#ffc0cb&quot;,
+        plum: &quot;#dda0dd&quot;,
+        powderblue: &quot;#b0e0e6&quot;,
+        rosybrown: &quot;#bc8f8f&quot;,
+        royalblue: &quot;#4169e1&quot;,
+        saddlebrown: &quot;#8b4513&quot;,
+        salmon: &quot;#fa8072&quot;,
+        sandybrown: &quot;#f4a460&quot;,
+        seagreen: &quot;#2e8b57&quot;,
+        seashell: &quot;#fff5ee&quot;,
+        sienna: &quot;#a0522d&quot;,
+        skyblue: &quot;#87ceeb&quot;,
+        slateblue: &quot;#6a5acd&quot;,
+        slategray: &quot;#708090&quot;,
+        slategrey: &quot;#708090&quot;,
+        snow: &quot;#fffafa&quot;,
+        springgreen: &quot;#00ff7f&quot;,
+        steelblue: &quot;#4682b4&quot;,
+        tan: &quot;#d2b48c&quot;,
+        thistle: &quot;#d8bfd8&quot;,
+        tomato: &quot;#ff6347&quot;,
+        turquoise: &quot;#40e0d0&quot;,
+        violet: &quot;#ee82ee&quot;,
+        wheat: &quot;#f5deb3&quot;,
+        whitesmoke: &quot;#f5f5f5&quot;,
+        yellowgreen: &quot;#9acd32&quot;,
+});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryjquerycolorminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/jquery.color.min.js (21631 => 21632)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/jquery.color.min.js        2012-08-27 22:39:01 UTC (rev 21631)
+++ trunk/wp-includes/js/jquery/jquery.color.min.js        2012-08-27 23:27:14 UTC (rev 21632)
</span><span class="lines">@@ -1 +1,2 @@
</span><del>-(function(d){d.each([&quot;backgroundColor&quot;,&quot;borderBottomColor&quot;,&quot;borderLeftColor&quot;,&quot;borderRightColor&quot;,&quot;borderTopColor&quot;,&quot;color&quot;,&quot;outlineColor&quot;],function(f,e){d.fx.step[e]=function(g){if(g.state==0){g.start=c(g.elem,e);g.end=b(g.end)}g.elem.style[e]=&quot;rgb(&quot;+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(&quot;,&quot;)+&quot;)&quot;}});function b(f){var e;if(f&amp;&amp;f.constructor==Array&amp;&amp;f.length==3){return f}if(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f)){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}if(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f)){return[parseFloat(e[1])*2.55,parseFloat(e[2])*
 2.55,parseFloat(e[3])*2.55]}if(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f)){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}if(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f)){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}if(e=/rgba\(0, 0, 0, 0\)/.exec(f)){return a.transparent}return a[d.trim(f).toLowerCase()]}function c(g,e){var f;do{f=d.curCSS(g,e);if(f!=&quot;&quot;&amp;&amp;f!=&quot;transparent&quot;||d.nodeName(g,&quot;body&quot;)){break}e=&quot;backgroundColor&quot;}while(g=g.parentNode);return b(f)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[25
 5,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]}})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+/*! jQuery Color v@2.1.0 with SVG Color Names http://github.com/jquery/jquery-color | jquery.org/license */
+(function(a,b){function m(a,b,c){var d=h[b.type]||{};return a==null?c||!b.def?null:b.def:(a=d.floor?~~a:parseFloat(a),isNaN(a)?b.def:d.mod?(a+d.mod)%d.mod:0&gt;a?0:d.max&lt;a?d.max:a)}function n(b){var c=f(),d=c._rgba=[];return b=b.toLowerCase(),l(e,function(a,e){var f,h=e.re.exec(b),i=h&amp;&amp;e.parse(h),j=e.space||&quot;rgba&quot;;if(i)return f=c[j](i),c[g[j].cache]=f[g[j].cache],d=c._rgba=f._rgba,!1}),d.length?(d.join()===&quot;0,0,0,0&quot;&amp;&amp;a.extend(d,k.transparent),c):k[b]}function o(a,b,c){return c=(c+1)%1,c*6&lt;1?a+(b-a)*c*6:c*2&lt;1?b:c*3&lt;2?a+(b-a)*(2/3-c)*6:a}var c=&quot;backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor&quot;,d=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\
 s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1]*2.55,a[2]*2.55,a[3]*2.55,a[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:&quot;hsla&quot;,parse:function(a){return[a[1],a[2]/100,a[3]/100,a[4]]}}],f=a.Color=function(b,c,d,e){return new a.Color.fn.parse(b,c,d,e)},g={rgba:{props:{red:{idx:0,type:&quot;byte&quot;},green:{idx:1,type:&quot;byte&quot;},blue:{idx:2,type:&quot;byte&quot;}}},hsla:{props:{hue:{idx:0,type:&quot;degrees&quot;},saturation:{idx:1,type:&quot;percent&quot;},lightness:{idx:2,type:&quot;percent&quot;}}}},h={&quot;byte&quot;:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},i
 =f.support={},j=a(&quot;&lt;p&gt;&quot;)[0],k,l=a.each;j.style.cssText=&quot;background-color:rgba(1,1,1,.5)&quot;,i.rgba=j.style.backgroundColor.indexOf(&quot;rgba&quot;)&gt;-1,l(g,function(a,b){b.cache=&quot;_&quot;+a,b.props.alpha={idx:3,type:&quot;percent&quot;,def:1}}),f.fn=a.extend(f.prototype,{parse:function(c,d,e,h){if(c===b)return this._rgba=[null,null,null,null],this;if(c.jquery||c.nodeType)c=a(c).css(d),d=b;var i=this,j=a.type(c),o=this._rgba=[],p;d!==b&amp;&amp;(c=[c,d,e,h],j=&quot;array&quot;);if(j===&quot;string&quot;)return this.parse(n(c)||k._default);if(j===&quot;array&quot;)return l(g.rgba.props,function(a,b){o[b.idx]=m(c[b.idx],b)}),this;if(j===&quot;object&quot;)return c instanceof f?l(g,function(a,b){c[b.cache]&amp;&amp;(i[b.cache]=c[b.cache].slice())}):l(g,function(b,d){var e=d.cache;l(d.props,function(a,b){if(!i[e]&amp;&amp;d.to){if(a===&quot;alpha&quot;||c[a]==null)return;i[e]=d.to(i._rgba)}i[e][b.idx]=m(c[a],b,!0)}),i[e]&amp;&amp;a.inArray(null,i[e].
 slice(0,3))&lt;0&amp;&amp;(i[e][3]=1,d.from&amp;&amp;(i._rgba=d.from(i[e])))}),this},is:function(a){var b=f(a),c=!0,d=this;return l(g,function(a,e){var f,g=b[e.cache];return g&amp;&amp;(f=d[e.cache]||e.to&amp;&amp;e.to(d._rgba)||[],l(e.props,function(a,b){if(g[b.idx]!=null)return c=g[b.idx]===f[b.idx],c})),c}),c},_space:function(){var a=[],b=this;return l(g,function(c,d){b[d.cache]&amp;&amp;a.push(c)}),a.pop()},transition:function(a,b){var c=f(a),d=c._space(),e=g[d],i=this.alpha()===0?f(&quot;transparent&quot;):this,j=i[e.cache]||e.to(i._rgba),k=j.slice();return c=c[e.cache],l(e.props,function(a,d){var e=d.idx,f=j[e],g=c[e],i=h[d.type]||{};if(g===null)return;f===null?k[e]=g:(i.mod&amp;&amp;(g-f&gt;i.mod/2?f+=i.mod:f-g&gt;i.mod/2&amp;&amp;(f-=i.mod)),k[e]=m((g-f)*b+f,d))}),this[d](k)},blend:function(b){if(this._rgba[3]===1)return this;var c=this._rgba.slice(),d=c.pop(),e=f(b)._rgba;return f(a.map(c,function(a,b){return(1-d)*e[b]+d*a}))},toRgbaString:function(){var b=&quot;rgb
 a(&quot;,c=a.map(this._rgba,function(a,b){return a==null?b&gt;2?1:0:a});return c[3]===1&amp;&amp;(c.pop(),b=&quot;rgb(&quot;),b+c.join()+&quot;)&quot;},toHslaString:function(){var b=&quot;hsla(&quot;,c=a.map(this.hsla(),function(a,b){return a==null&amp;&amp;(a=b&gt;2?1:0),b&amp;&amp;b&lt;3&amp;&amp;(a=Math.round(a*100)+&quot;%&quot;),a});return c[3]===1&amp;&amp;(c.pop(),b=&quot;hsl(&quot;),b+c.join()+&quot;)&quot;},toHexString:function(b){var c=this._rgba.slice(),d=c.pop();return b&amp;&amp;c.push(~~(d*255)),&quot;#&quot;+a.map(c,function(a,b){return a=(a||0).toString(16),a.length===1?&quot;0&quot;+a:a}).join(&quot;&quot;)},toString:function(){return this._rgba[3]===0?&quot;transparent&quot;:this.toRgbaString()}}),f.fn.parse.prototype=f.fn,g.hsla.to=function(a){if(a[0]==null||a[1]==null||a[2]==null)return[null,null,null,a[3]];var b=a[0]/255,c=a[1]/255,d=a[2]/255,e=a[3],f=Math.max(b,c,d),g=Math.min(b,c,d),h=f-g,i=f+g,j=i*.5,k,l;return g===f?k=0:b===f?k=60*(c-d)/h+360:c===f?k
 =60*(d-b)/h+120:k=60*(b-c)/h+240,j===0||j===1?l=j:j&lt;=.5?l=h/i:l=h/(2-i),[Math.round(k)%360,l,j,e==null?1:e]},g.hsla.from=function(a){if(a[0]==null||a[1]==null||a[2]==null)return[null,null,null,a[3]];var b=a[0]/360,c=a[1],d=a[2],e=a[3],f=d&lt;=.5?d*(1+c):d+c-d*c,g=2*d-f,h,i,j;return[Math.round(o(g,f,b+1/3)*255),Math.round(o(g,f,b)*255),Math.round(o(g,f,b-1/3)*255),e]},l(g,function(c,e){var g=e.props,h=e.cache,i=e.to,j=e.from;f.fn[c]=function(c){i&amp;&amp;!this[h]&amp;&amp;(this[h]=i(this._rgba));if(c===b)return this[h].slice();var d,e=a.type(c),k=e===&quot;array&quot;||e===&quot;object&quot;?c:arguments,n=this[h].slice();return l(g,function(a,b){var c=k[e===&quot;object&quot;?a:b.idx];c==null&amp;&amp;(c=n[b.idx]),n[b.idx]=m(c,b)}),j?(d=f(j(n)),d[h]=n,d):f(n)},l(g,function(b,e){if(f.fn[b])return;f.fn[b]=function(f){var g=a.type(f),h=b===&quot;alpha&quot;?this._hsla?&quot;hsla&quot;:&quot;rgba&quot;:c,i=this[h](),j=i[e.idx],k;return g===&quot;undefined&quot;?j:(g===&quot;f
 unction&quot;&amp;&amp;(f=f.call(this,j),g=a.type(f)),f==null&amp;&amp;e.empty?this:(g===&quot;string&quot;&amp;&amp;(k=d.exec(f),k&amp;&amp;(f=j+parseFloat(k[2])*(k[1]===&quot;+&quot;?1:-1))),i[e.idx]=f,this[h](i)))}})}),f.hook=function(b){var c=b.split(&quot; &quot;);l(c,function(b,c){a.cssHooks[c]={set:function(b,d){var e,g,h=&quot;&quot;;if(a.type(d)!==&quot;string&quot;||(e=n(d))){d=f(e||d);if(!i.rgba&amp;&amp;d._rgba[3]!==1){g=c===&quot;backgroundColor&quot;?b.parentNode:b;while((h===&quot;&quot;||h===&quot;transparent&quot;)&amp;&amp;g&amp;&amp;g.style)try{h=a.css(g,&quot;backgroundColor&quot;),g=g.parentNode}catch(j){}d=d.blend(h&amp;&amp;h!==&quot;transparent&quot;?h:&quot;_default&quot;)}d=d.toRgbaString()}try{b.style[c]=d}catch(d){}}},a.fx.step[c]=function(b){b.colorInit||(b.start=f(b.elem,c),b.end=f(b.end),b.colorInit=!0),a.cssHooks[c].set(b.elem,b.start.transition(b.end,b.pos))}})},f.hook(c),a.cssHooks.borderColor={expand:function(a){var b={};return l([&quot;Top
 &quot;,&quot;Right&quot;,&quot;Bottom&quot;,&quot;Left&quot;],function(c,d){b[&quot;border&quot;+d+&quot;Color&quot;]=a}),b}},k=a.Color.names={aqua:&quot;#00ffff&quot;,black:&quot;#000000&quot;,blue:&quot;#0000ff&quot;,fuchsia:&quot;#ff00ff&quot;,gray:&quot;#808080&quot;,green:&quot;#008000&quot;,lime:&quot;#00ff00&quot;,maroon:&quot;#800000&quot;,navy:&quot;#000080&quot;,olive:&quot;#808000&quot;,purple:&quot;#800080&quot;,red:&quot;#ff0000&quot;,silver:&quot;#c0c0c0&quot;,teal:&quot;#008080&quot;,white:&quot;#ffffff&quot;,yellow:&quot;#ffff00&quot;,transparent:[null,null,null,0],_default:&quot;#ffffff&quot;}})(jQuery),jQuery.extend(jQuery.Color.names,{aliceblue:&quot;#f0f8ff&quot;,antiquewhite:&quot;#faebd7&quot;,aquamarine:&quot;#7fffd4&quot;,azure:&quot;#f0ffff&quot;,beige:&quot;#f5f5dc&quot;,bisque:&quot;#ffe4c4&quot;,blanchedalmond:&quot;#ffebcd&quot;,blueviolet:&quot;#8a2be2&quot;,brown:&quot;#a52a2a&quot;,burlywood:&quot;#deb887&quot;,cadetblue:&quot;#5f9ea0&quot;,ch
 artreuse:&quot;#7fff00&quot;,chocolate:&quot;#d2691e&quot;,coral:&quot;#ff7f50&quot;,cornflowerblue:&quot;#6495ed&quot;,cornsilk:&quot;#fff8dc&quot;,crimson:&quot;#dc143c&quot;,cyan:&quot;#00ffff&quot;,darkblue:&quot;#00008b&quot;,darkcyan:&quot;#008b8b&quot;,darkgoldenrod:&quot;#b8860b&quot;,darkgray:&quot;#a9a9a9&quot;,darkgreen:&quot;#006400&quot;,darkgrey:&quot;#a9a9a9&quot;,darkkhaki:&quot;#bdb76b&quot;,darkmagenta:&quot;#8b008b&quot;,darkolivegreen:&quot;#556b2f&quot;,darkorange:&quot;#ff8c00&quot;,darkorchid:&quot;#9932cc&quot;,darkred:&quot;#8b0000&quot;,darksalmon:&quot;#e9967a&quot;,darkseagreen:&quot;#8fbc8f&quot;,darkslateblue:&quot;#483d8b&quot;,darkslategray:&quot;#2f4f4f&quot;,darkslategrey:&quot;#2f4f4f&quot;,darkturquoise:&quot;#00ced1&quot;,darkviolet:&quot;#9400d3&quot;,deeppink:&quot;#ff1493&quot;,deepskyblue:&quot;#00bfff&quot;,dimgray:&quot;#696969&quot;,dimgrey:&quot;#696969&quot;,dodgerblue:&quot;#1e90ff&quot;,firebrick:&quot;#b22222&quot;,floralwhite
 :&quot;#fffaf0&quot;,forestgreen:&quot;#228b22&quot;,gainsboro:&quot;#dcdcdc&quot;,ghostwhite:&quot;#f8f8ff&quot;,gold:&quot;#ffd700&quot;,goldenrod:&quot;#daa520&quot;,greenyellow:&quot;#adff2f&quot;,grey:&quot;#808080&quot;,honeydew:&quot;#f0fff0&quot;,hotpink:&quot;#ff69b4&quot;,indianred:&quot;#cd5c5c&quot;,indigo:&quot;#4b0082&quot;,ivory:&quot;#fffff0&quot;,khaki:&quot;#f0e68c&quot;,lavender:&quot;#e6e6fa&quot;,lavenderblush:&quot;#fff0f5&quot;,lawngreen:&quot;#7cfc00&quot;,lemonchiffon:&quot;#fffacd&quot;,lightblue:&quot;#add8e6&quot;,lightcoral:&quot;#f08080&quot;,lightcyan:&quot;#e0ffff&quot;,lightgoldenrodyellow:&quot;#fafad2&quot;,lightgray:&quot;#d3d3d3&quot;,lightgreen:&quot;#90ee90&quot;,lightgrey:&quot;#d3d3d3&quot;,lightpink:&quot;#ffb6c1&quot;,lightsalmon:&quot;#ffa07a&quot;,lightseagreen:&quot;#20b2aa&quot;,lightskyblue:&quot;#87cefa&quot;,lightslategray:&quot;#778899&quot;,lightslategrey:&quot;#778899&quot;,lightsteelblue:&quot;#b0c4de&quot;,lightyellow:&q
 uot;#ffffe0&quot;,limegreen:&quot;#32cd32&quot;,linen:&quot;#faf0e6&quot;,mediumaquamarine:&quot;#66cdaa&quot;,mediumblue:&quot;#0000cd&quot;,mediumorchid:&quot;#ba55d3&quot;,mediumpurple:&quot;#9370db&quot;,mediumseagreen:&quot;#3cb371&quot;,mediumslateblue:&quot;#7b68ee&quot;,mediumspringgreen:&quot;#00fa9a&quot;,mediumturquoise:&quot;#48d1cc&quot;,mediumvioletred:&quot;#c71585&quot;,midnightblue:&quot;#191970&quot;,mintcream:&quot;#f5fffa&quot;,mistyrose:&quot;#ffe4e1&quot;,moccasin:&quot;#ffe4b5&quot;,navajowhite:&quot;#ffdead&quot;,oldlace:&quot;#fdf5e6&quot;,olivedrab:&quot;#6b8e23&quot;,orange:&quot;#ffa500&quot;,orangered:&quot;#ff4500&quot;,orchid:&quot;#da70d6&quot;,palegoldenrod:&quot;#eee8aa&quot;,palegreen:&quot;#98fb98&quot;,paleturquoise:&quot;#afeeee&quot;,palevioletred:&quot;#db7093&quot;,papayawhip:&quot;#ffefd5&quot;,peachpuff:&quot;#ffdab9&quot;,peru:&quot;#cd853f&quot;,pink:&quot;#ffc0cb&quot;,plum:&quot;#dda0dd&quot;,powderblue:&quot;#b0e0e6&quot;,rosyb
 rown:&quot;#bc8f8f&quot;,royalblue:&quot;#4169e1&quot;,saddlebrown:&quot;#8b4513&quot;,salmon:&quot;#fa8072&quot;,sandybrown:&quot;#f4a460&quot;,seagreen:&quot;#2e8b57&quot;,seashell:&quot;#fff5ee&quot;,sienna:&quot;#a0522d&quot;,skyblue:&quot;#87ceeb&quot;,slateblue:&quot;#6a5acd&quot;,slategray:&quot;#708090&quot;,slategrey:&quot;#708090&quot;,snow:&quot;#fffafa&quot;,springgreen:&quot;#00ff7f&quot;,steelblue:&quot;#4682b4&quot;,tan:&quot;#d2b48c&quot;,thistle:&quot;#d8bfd8&quot;,tomato:&quot;#ff6347&quot;,turquoise:&quot;#40e0d0&quot;,violet:&quot;#ee82ee&quot;,wheat:&quot;#f5deb3&quot;,whitesmoke:&quot;#f5f5f5&quot;,yellowgreen:&quot;#9acd32&quot;});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (21631 => 21632)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2012-08-27 22:39:01 UTC (rev 21631)
+++ trunk/wp-includes/script-loader.php        2012-08-27 23:27:14 UTC (rev 21632)
</span><span class="lines">@@ -160,7 +160,7 @@
</span><span class="cx">         $scripts-&gt;add( 'jquery-form', &quot;/wp-includes/js/jquery/jquery.form$suffix.js&quot;, array('jquery'), '2.73', 1 );
</span><span class="cx"> 
</span><span class="cx">         // jQuery plugins
</span><del>-        $scripts-&gt;add( 'jquery-color', &quot;/wp-includes/js/jquery/jquery.color$suffix.js&quot;, array('jquery'), '2.0-4561m', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-color', &quot;/wp-includes/js/jquery/jquery.color$suffix.js&quot;, array('jquery'), '2.1.0', 1 );
</ins><span class="cx">         $scripts-&gt;add( 'suggest', &quot;/wp-includes/js/jquery/suggest$suffix.js&quot;, array('jquery'), '1.1-20110113', 1 );
</span><span class="cx">         $scripts-&gt;add( 'schedule', '/wp-includes/js/jquery/jquery.schedule.js', array('jquery'), '20m', 1 );
</span><span class="cx">         $scripts-&gt;add( 'jquery-query', &quot;/wp-includes/js/jquery/jquery.query.js&quot;, array('jquery'), '2.1.7', 1 );
</span></span></pre>
</div>
</div>

</body>
</html>