Make WordPress Core

Ticket #25877: 25877.diff

File 25877.diff, 1.0 KB (added by kadamwhite, 11 years ago)

Spaces -> Tabs, adjust variable declaration to match style guide

  • src/wp-admin/js/color-picker.js

     
    11/* global wpColorPickerL10n:true */
    22( function( $, undef ){
    33
    4         // html stuff
    5         var _before = '<a tabindex="0" class="wp-color-result" />',
     4        var ColorPicker,
     5                // html stuff
     6                _before = '<a tabindex="0" class="wp-color-result" />',
    67                _after = '<div class="wp-picker-holder" />',
    78                _wrap = '<div class="wp-picker-container" />',
    8                 _button = '<input type="button" class="button button-small hidden" />',
     9                _button = '<input type="button" class="button button-small hidden" />';
     10
    911        // jQuery UI Widget constructor
    10             ColorPicker = {
     12        ColorPicker = {
    1113                options: {
    1214                        defaultColor: false,
    1315                        change: false,
     
    2022                        if ( ! $.support.iris )
    2123                                return;
    2224                        var self = this,
    23                             el = self.element;
     25                                el = self.element;
    2426
    2527                        $.extend( self.options, el.data() );
    2628