|
|
@ -14,7 +14,7 @@
|
|
|
|
// _blankPng: ... // the blank 16x16px image for the transparent cursor
|
|
|
|
// _blankPng: ... // the blank 16x16px image for the transparent cursor
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
_devMode = !_data, // if no _data we assume that colorPicker.data.js is missing (for development)
|
|
|
|
_devMode = !_data, // if no _data we assume that colorPicker.data.js is missing (for development)
|
|
|
|
_isIE = document.createStyleSheet !== undefined && document.getElementById,
|
|
|
|
_isIE = document.createStyleSheet !== undefined && document.getElementById || !!window.MSInputMethodContext,
|
|
|
|
_doesOpacity = typeof document.body.style.opacity !== 'undefined',
|
|
|
|
_doesOpacity = typeof document.body.style.opacity !== 'undefined',
|
|
|
|
// _isIE8 = _isIE && document.querySelectorAll,
|
|
|
|
// _isIE8 = _isIE && document.querySelectorAll,
|
|
|
|
|
|
|
|
|
|
|
@ -324,7 +324,7 @@
|
|
|
|
replace(/§/g, prefix).
|
|
|
|
replace(/§/g, prefix).
|
|
|
|
replace('_bgs.png', doesBAS64 ? urlData + _data._bgsPng : _options.imagePath + '_bgs.png').
|
|
|
|
replace('_bgs.png', doesBAS64 ? urlData + _data._bgsPng : _options.imagePath + '_bgs.png').
|
|
|
|
replace('_icons.png', doesBAS64 ? urlData + _data._iconsPng : _options.imagePath + '_icons.png').
|
|
|
|
replace('_icons.png', doesBAS64 ? urlData + _data._iconsPng : _options.imagePath + '_icons.png').
|
|
|
|
replace('_blank.png', !_isIE && !doesBAS64 ? urlData + _data._blankPng : _options.imagePath + '_blank.cur').
|
|
|
|
replace('_blank.png', !_isIE ? urlData + _data._blankPng : _options.imagePath + '_blank.cur').
|
|
|
|
replace('"Courier New",', doesBAS64 ? '' : '"Courier New",').
|
|
|
|
replace('"Courier New",', doesBAS64 ? '' : '"Courier New",').
|
|
|
|
replace(/opacity:(\d*\.*(\d+))/g, function($1, $2){
|
|
|
|
replace(/opacity:(\d*\.*(\d+))/g, function($1, $2){
|
|
|
|
return !_doesOpacity ? '-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=' +
|
|
|
|
return !_doesOpacity ? '-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=' +
|
|
|
|