Ticket #25877: 25877.diff
File 25877.diff, 1.0 KB (added by , 11 years ago) |
---|
-
src/wp-admin/js/color-picker.js
1 1 /* global wpColorPickerL10n:true */ 2 2 ( function( $, undef ){ 3 3 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" />', 6 7 _after = '<div class="wp-picker-holder" />', 7 8 _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 9 11 // jQuery UI Widget constructor 10 12 ColorPicker = { 11 13 options: { 12 14 defaultColor: false, 13 15 change: false, … … 20 22 if ( ! $.support.iris ) 21 23 return; 22 24 var self = this, 23 25 el = self.element; 24 26 25 27 $.extend( self.options, el.data() ); 26 28