r2756 - Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass). Fixed #4602 (Remo...

r2756 - Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass). Fixed #4602 (Remo...


Author: scott.gonzalez
Date: Sun Jun 14 19:18:47 2009
New Revision: 2756
Modified:
trunk/ui/effects.core.js
Log:
Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass).
Fixed #4602 (Remove jQuery.fn.morph).
Modified: trunk/ui/effects.core.js
==============================================================================
--- trunk/ui/effects.core.js    (original)
+++ trunk/ui/effects.core.js    Sun Jun 14 19:18:47 2009
@@ -219,11 +219,8 @@
        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