Skip to content
Permalink
Browse files

Blind effect: Moved regexes into effect definition.

  • Loading branch information
scottgonzalez committed Oct 24, 2013
1 parent d000256 commit 3317ec89907bceeeb4c10d7bea9d50b06c560f84
Showing with 2 additions and 4 deletions.
  1. +2 −4 ui/jquery.ui.effect-blind.js
@@ -13,12 +13,11 @@
*/
(function( $, undefined ) {

var rvertical = /up|down|vertical/,
rpositivemotion = /up|left|vertical|horizontal/;

$.effects.effect.blind = function( o, done ) {
// Create element
var el = $( this ),
rvertical = /up|down|vertical/,
rpositivemotion = /up|left|vertical|horizontal/,
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
direction = o.direction || "up",
@@ -76,7 +75,6 @@ $.effects.effect.blind = function( o, done ) {
done();
}
});

};

})(jQuery);

0 comments on commit 3317ec8

Please sign in to comment.
You can’t perform that action at this time.