<!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>[21646] trunk: Set jQuery Color to be a dependency for wp-lists, rather than enqueueing it everywhere.</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/21646">21646</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2012-08-28 17:51:35 +0000 (Tue, 28 Aug 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Set jQuery Color to be a dependency for wp-lists, rather than enqueueing it everywhere.

Any plugin wishing to use jQuery color animations must set jquery-color as a dependency
(or enqueue it).

Remove the un-minified version of jQuery Color.

props scribu.
fixes <a href="http://core.trac.wordpress.org/ticket/21692">#21692</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminadminphp">trunk/wp-admin/admin.php</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsjqueryjquerycolorjs">trunk/wp-includes/js/jquery/jquery.color.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminadminphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/admin.php (21645 => 21646)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/admin.php        2012-08-28 17:27:18 UTC (rev 21645)
+++ trunk/wp-admin/admin.php        2012-08-28 17:51:35 UTC (rev 21646)
</span><span class="lines">@@ -80,7 +80,6 @@
</span><span class="cx"> wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'text', 'trackback', 'pingback'));
</span><span class="cx"> 
</span><span class="cx"> wp_enqueue_script( 'common' );
</span><del>-wp_enqueue_script( 'jquery-color' );
</del><span class="cx"> 
</span><span class="cx"> $editing = false;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryjquerycolorjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-includes/js/jquery/jquery.color.js (21645 => 21646)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/jquery.color.js        2012-08-28 17:27:18 UTC (rev 21645)
+++ trunk/wp-includes/js/jquery/jquery.color.js        2012-08-28 17:51:35 UTC (rev 21646)
</span><span class="lines">@@ -1,810 +0,0 @@
</span><del>-/*!
- * 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
- */
-(function( jQuery, undefined ) {
-
-        var stepHooks = &quot;backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor&quot;,
-
-        // 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 ]
-                                ];
-                        }
-                }],
-
-        // 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;
-                                }
-                        }
-                },
-
-                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 = {},
-
-        // element for support tests
-        supportElem = jQuery( &quot;&lt;p&gt;&quot; )[ 0 ],
-
-        // colors = jQuery.Color.names
-        colors,
-
-        // local aliases of functions called often
-        each = jQuery.each;
-
-// 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;
-
-// 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
-        };
-});
-
-function clamp( value, prop, allowEmpty ) {
-        var type = propTypes[ prop.type ] || {};
-
-        if ( value == null ) {
-                return (allowEmpty || !prop.def) ? null : prop.def;
-        }
-
-        // ~~ is an short way of doing floor for positive numbers
-        value = type.floor ? ~~value : parseFloat( value );
-
-        // IE will pass in empty strings as value for alpha,
-        // which will hit this case
-        if ( isNaN( value ) ) {
-                return prop.def;
-        }
-
-        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;
-        }
-
-        // for now all property types without mod have min and max
-        return 0 &gt; value ? 0 : type.max &lt; value ? type.max : value;
-}
-
-function stringParse( string ) {
-        var inst = color(),
-                rgba = inst._rgba = [];
-
-        string = string.toLowerCase();
-
-        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;;
-
-                if ( values ) {
-                        parsed = inst[ spaceName ]( values );
-
-                        // 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;,
-});
</del><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 (21645 => 21646)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2012-08-28 17:27:18 UTC (rev 21645)
+++ trunk/wp-includes/script-loader.php        2012-08-28 17:51:35 UTC (rev 21646)
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'autosave', &quot;/wp-includes/js/autosave$suffix.js&quot;, array('schedule', 'wp-ajax-response'), false, 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'wp-lists', &quot;/wp-includes/js/wp-lists$suffix.js&quot;, array('wp-ajax-response'), false, 1 );
</del><ins>+        $scripts-&gt;add( 'wp-lists', &quot;/wp-includes/js/wp-lists$suffix.js&quot;, array( 'wp-ajax-response', 'jquery-color' ), false, 1 );
</ins><span class="cx"> 
</span><span class="cx">         // WordPress no longer uses or bundles Prototype or script.aculo.us. These are now pulled from an external source.
</span><span class="cx">         $scripts-&gt;add( 'prototype', '//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js', array(), '1.7.1');
</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.1.0', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-color', &quot;/wp-includes/js/jquery/jquery.color.min.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>