Skip to content

Commit

Permalink
v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
istvan-ujjmeszaros committed Aug 11, 2014
1 parent e6519ae commit cb5b851
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 16 deletions.
2 changes: 1 addition & 1 deletion bootstrap-colorpickersliders.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"widget",
"colorchooser"
],
"version": "3.0.0",
"version": "3.0.1",
"author": {
"name": "István Ujj-Mészáros",
"url": "https://github.com/istvan-ujjmeszaros"
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-colorpickersliders",
"version": "3.0.0",
"version": "3.0.1",
"homepage": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"description": "Bootstrap 3 optimized responsive color selector with HSV, HSL, RGB and CIE-Lch (which supports human perceived lightness) selectors and color swatches.",
"homepage": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/",
"version": "3.0.0",
"version": "3.0.1",
"authors": [
{
"name": "István Ujj-Mészáros",
Expand Down
2 changes: 1 addition & 1 deletion dist/bootstrap.colorpickersliders.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Bootstrap Color Picker Sliders - v3.0.0
* Bootstrap Color Picker Sliders - v3.0.1
*
* Bootstrap 3 optimized responsive color selector with HSV, HSL, RGB and CIE-Lch (which supports human perceived lightness) selectors and color swatches.
* http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/
Expand Down
16 changes: 13 additions & 3 deletions dist/bootstrap.colorpickersliders.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Bootstrap Color Picker Sliders - v3.0.0
* Bootstrap Color Picker Sliders - v3.0.1
*
* Bootstrap 3 optimized responsive color selector with HSV, HSL, RGB and CIE-Lch (which supports human perceived lightness) selectors and color swatches.
* http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/
Expand Down Expand Up @@ -1350,7 +1350,12 @@

switch (format) {
case 'hex':
$element.val(color.tiny.toHexString());
if (color.hsla.a < 1) {
$element.val(color.tiny.toRgbString());
}
else {
$element.val(color.tiny.toHexString());
}
break;
case 'hsl':
$element.val(color.tiny.toHslString());
Expand Down Expand Up @@ -1493,7 +1498,12 @@

switch (settings.previewformat) {
case 'hex':
colorstring = color.tiny.toHexString();
if (color.hsla.a < 1) {
colorstring = color.tiny.toRgbString();
}
else {
colorstring = color.tiny.toHexString();
}
break;
case 'hsl':
colorstring = color.tiny.toHslString();
Expand Down
2 changes: 1 addition & 1 deletion dist/bootstrap.colorpickersliders.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/bootstrap.colorpickersliders.min.js

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions dist/bootstrap.colorpickersliders.nocielch.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Bootstrap Color Picker Sliders - v3.0.0
* Bootstrap Color Picker Sliders - v3.0.1
*
* Bootstrap 3 optimized responsive color selector with HSV, HSL, RGB and CIE-Lch (which supports human perceived lightness) selectors and color swatches.
* http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/
Expand Down Expand Up @@ -1235,7 +1235,12 @@

switch (format) {
case 'hex':
$element.val(color.tiny.toHexString());
if (color.hsla.a < 1) {
$element.val(color.tiny.toRgbString());
}
else {
$element.val(color.tiny.toHexString());
}
break;
case 'hsl':
$element.val(color.tiny.toHslString());
Expand Down Expand Up @@ -1315,7 +1320,12 @@

switch (settings.previewformat) {
case 'hex':
colorstring = color.tiny.toHexString();
if (color.hsla.a < 1) {
colorstring = color.tiny.toRgbString();
}
else {
colorstring = color.tiny.toHexString();
}
break;
case 'hsl':
colorstring = color.tiny.toHslString();
Expand Down
4 changes: 2 additions & 2 deletions dist/bootstrap.colorpickersliders.nocielch.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "http://github.com/istvan-ujjmeszaros/bootstrap-colorpickersliders.git"
},
"homepage": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/",
"version": "3.0.0",
"version": "3.0.1",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-cli": "~0.1.13",
Expand Down

0 comments on commit cb5b851

Please sign in to comment.