Skip to content

Commit

Permalink
Precising the unit part of rfxnum regex
Browse files Browse the repository at this point in the history
  • Loading branch information
louisremi committed Dec 9, 2010
1 parent 8943b42 commit 796d25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/effects.js
Expand Up @@ -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
Expand Down

0 comments on commit 796d25c

Please sign in to comment.