Fix order, declaration, tabbing of vars in color-picker.js.

props kadamwhite.
fixes #25877.


git-svn-id: https://develop.svn.wordpress.org/trunk@26074 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-11-10 02:42:32 +00:00
parent b0c601170c
commit 974737e832
1 changed files with 7 additions and 5 deletions

View File

@ -1,13 +1,15 @@
/* global wpColorPickerL10n:true */
( function( $, undef ){
// html stuff
var _before = '<a tabindex="0" class="wp-color-result" />',
var ColorPicker,
// html stuff
_before = '<a tabindex="0" class="wp-color-result" />',
_after = '<div class="wp-picker-holder" />',
_wrap = '<div class="wp-picker-container" />',
_button = '<input type="button" class="button button-small hidden" />',
_button = '<input type="button" class="button button-small hidden" />';
// jQuery UI Widget constructor
ColorPicker = {
ColorPicker = {
options: {
defaultColor: false,
change: false,
@ -20,7 +22,7 @@
if ( ! $.support.iris )
return;
var self = this,
el = self.element;
el = self.element;
$.extend( self.options, el.data() );