[Pkg-javascript-commits] [jquery-minicolors] 09/46: Add rgb(a) input values, and css color keywords

David Prévot taffit at moszumanska.debian.org
Sun Oct 25 17:18:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository jquery-minicolors.

commit 17e4939b27f496dcd8ec6730cc972f7f18be81ae
Author: Cyril Rezé <cyril.reze at joomlic.com>
Date:   Thu Sep 17 02:32:40 2015 +0200

    Add rgb(a) input values, and css color keywords
---
 jquery.minicolors.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jquery.minicolors.js b/jquery.minicolors.js
index 1107754..147ef3f 100644
--- a/jquery.minicolors.js
+++ b/jquery.minicolors.js
@@ -530,7 +530,7 @@
 
         // Determine hex/HSB values
         if( isRgb(input.val()) ) {
-            // If rgb(a) string, converts it to hex and update opacity
+            // If input value is a rgb(a) string, convert it to hex color and update opacity
             hex = rgbString2hex(input.val());
             alpha = keepWithin(parseFloat(getAlpha(input.val())).toFixed(2), 0, 1);
             if( alpha ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery-minicolors.git



More information about the Pkg-javascript-commits mailing list