Skip to content
Permalink
Browse files

Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass)…

…. Fixed #4602 (Remove jQuery.fn.morph).
  • Loading branch information...
scottgonzalez committed Jun 15, 2009
1 parent 2f161c1 commit 25398447f172d86114fc61f237da511a1b76fa29
Showing with 1 addition and 4 deletions.
  1. +1 −4 ui/effects.core.js
@@ -219,12 +219,9 @@ $.fn.extend({
return ( (typeof speed !== "boolean") && speed ) ? $.effects.animateClass.apply(this, [{ toggle: classNames },speed,easing,callback]) : this._toggleClass(classNames, speed);
},

morph: function(remove,add,speed,easing,callback) {
switchClass: function(remove,add,speed,easing,callback) {
return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]);
},
switchClass: function() {
return this.morph.apply(this, arguments);
},

// helper functions
cssUnit: function(key) {

0 comments on commit 2539844

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