Precising the unit part of rfxnum regex

This commit is contained in:
louisremi 2010-12-09 10:23:45 +01:00
parent 8943b427f6
commit 796d25cf07

2
src/effects.js vendored
View file

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