aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2012-11-26 03:20:43 -0500
committerjaubourg <j@ubourg.net>2012-11-27 01:59:22 +0100
commit0877d424e08d57e6f0d1da9a86289fb10d0ee136 (patch)
treec73d6ee4d3d77264336c19e6cf2d8f94c4afad8f /src/effects.js
parent512b826f9f14e30b715b943547b97aaaf1099f4e (diff)
downloadjquery-0877d424e08d57e6f0d1da9a86289fb10d0ee136.tar.gz
jquery-0877d424e08d57e6f0d1da9a86289fb10d0ee136.zip
Fix #12959: Optimize library-wide patterns
Diffstat (limited to 'src/effects.js')
-rw-r--r--src/effects.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects.js b/src/effects.js
index d5ff7464c..68fc60101 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -1,6 +1,6 @@
var fxNow, timerId,
rfxtypes = /^(?:toggle|show|hide)$/,
- rfxnum = new RegExp( "^(?:([-+])=|)(" + core_pnum + ")([a-z%]*)$", "i" ),
+ rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ),
rrun = /queueHooks$/,
animationPrefilters = [ defaultPrefilter ],
tweeners = {