raw/ace/assets/js/uncompressed/bootstrap-colorpicker.js
function(){
			try {
				this.preview.backgroundColor = this.format.call(this);
			} catch(e) {
				this.preview.backgroundColor = this.color.toHex();
			}
			//set the color for brightness/saturation slider
			this.base.backgroundColor = this.color.toHex(this.color.value.h, 1, 1, 1);
			//set te color for alpha slider
			if (this.alpha) {
				this.alpha.backgroundColor = this.color.toHex();
			}
		}
function(){
			try {
				this.preview.backgroundColor = this.format.call(this);
			} catch(e) {
				this.preview.backgroundColor = this.color.toHex();
			}
			//set the color for brightness/saturation slider
			this.base.backgroundColor = this.color.toHex(this.color.value.h, 1, 1, 1);
			//set te color for alpha slider
			if (this.alpha) {
				this.alpha.backgroundColor = this.color.toHex();
			}
		}
function ( ) { try { this . preview . backgroundColor = this . format . call ( this ) ; } catch ( e ) { this . preview . backgroundColor = this . color . toHex ( ) ; } //set the color for brightness/saturation slider this . base . backgroundColor = this . color . toHex ( this . color . value . h , 1 , 1 , 1 ) ; //set te color for alpha slider if ( this . alpha ) { this . alpha . backgroundColor = this . color . toHex ( ) ; } }
preview color change
preview color change