git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8943b42
)
Precising the unit part of rfxnum regex
author
louisremi
<louisremi@louisremi-laptop.(none)>
Thu, 9 Dec 2010 09:23:45 +0000
(10:23 +0100)
committer
louisremi
<louisremi@louisremi-laptop.(none)>
Thu, 9 Dec 2010 09:23:45 +0000
(10:23 +0100)
src/effects.js
patch
|
blob
|
history
diff --git
a/src/effects.js
b/src/effects.js
index
51ce0c5
..
067383b
100644
(file)
--- 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