From: rwldrn Date: Fri, 26 Aug 2011 14:44:50 +0000 (-0400) Subject: Landing pull request 476. Fix lint complaints about unescaped -. Follow up to #10021... X-Git-Tag: 1.6.3rc1~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3589a53de98c63a528855755492875318ed0136c;p=jquery.git Landing pull request 476. Fix lint complaints about unescaped -. Follow up to #10021 Fixes #10021. More Details: - https://github.com/jquery/jquery/pull/476 - http://bugs.jquery.com/ticket/10021 --- diff --git a/src/css.js b/src/css.js index a4ca555ef..7abf95e98 100644 --- a/src/css.js +++ b/src/css.js @@ -6,7 +6,7 @@ var ralpha = /alpha\([^)]*\)/i, rupper = /([A-Z]|^ms)/g, rnumpx = /^-?\d+(?:px)?$/i, rnum = /^-?\d/, - rrelNum = /^([-+])=([-+.\de]+)/, + rrelNum = /^([\-+])=([\-+.\de]+)/, cssShow = { position: "absolute", visibility: "hidden", display: "block" }, cssWidth = [ "Left", "Right" ],