[Pkg-javascript-commits] [jquery-minicolors] 05/16: Tell JSHint to ignore bitwise operators

David Prévot taffit at moszumanska.debian.org
Thu Dec 11 15:38:21 UTC 2014


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

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

commit b041bca40fe2254a2ca54ccc724c9c3b0648e9f5
Author: Cory LaViska <cory at abeautifulsite.net>
Date:   Tue Nov 25 12:33:09 2014 -0500

    Tell JSHint to ignore bitwise operators
---
 jquery.minicolors.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/jquery.minicolors.js b/jquery.minicolors.js
index 8b26ecf..e2933f0 100644
--- a/jquery.minicolors.js
+++ b/jquery.minicolors.js
@@ -755,9 +755,11 @@ if(jQuery) (function($) {
     function hex2rgb(hex) {
         hex = parseInt(((hex.indexOf('#') > -1) ? hex.substring(1) : hex), 16);
         return {
+            /* jshint ignore:start */
             r: hex >> 16,
             g: (hex & 0x00FF00) >> 8,
             b: (hex & 0x0000FF)
+            /* jshint ignore:end */
         };
     }
 

-- 
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