Precising the unit part of rfxnum regex
This commit is contained in:
parent
8943b427f6
commit
796d25cf07
1 changed files with 1 additions and 1 deletions
2
src/effects.js
vendored
2
src/effects.js
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
var elemdisplay = {},
|
var elemdisplay = {},
|
||||||
rfxtypes = /^(?:toggle|show|hide)$/,
|
rfxtypes = /^(?:toggle|show|hide)$/,
|
||||||
rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/,
|
rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
|
||||||
timerId,
|
timerId,
|
||||||
fxAttrs = [
|
fxAttrs = [
|
||||||
// height animations
|
// height animations
|
||||||
|
|
Loading…
Reference in a new issue