From 796d25cf07ad63e2008ff4b70db182d33a3533dd Mon Sep 17 00:00:00 2001
From: louisremi <louisremi@louisremi-laptop.(none)>
Date: Thu, 9 Dec 2010 10:23:45 +0100
Subject: [PATCH] Precising the unit part of rfxnum regex

---
 src/effects.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/effects.js b/src/effects.js
index 51ce0c5..067383b 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -2,7 +2,7 @@
 
 var elemdisplay = {},
 	rfxtypes = /^(?:toggle|show|hide)$/,
-	rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/,
+	rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
 	timerId,
 	fxAttrs = [
 		// height animations
-- 
1.7.10.4