Merge branch 'rfxnum' of https://github.com/lrbabe/jquery into lrbabe-rfxnum
authorjeresig <jeresig@gmail.com>
Thu, 9 Dec 2010 17:37:30 +0000 (12:37 -0500)
committerjeresig <jeresig@gmail.com>
Thu, 9 Dec 2010 17:37:30 +0000 (12:37 -0500)
src/effects.js

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