diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-06-15 02:18:47 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-06-15 02:18:47 +0000 |
commit | 25398447f172d86114fc61f237da511a1b76fa29 (patch) | |
tree | 8f7b1b37553898b03e7fa47d75caf4fee12760a5 /ui | |
parent | 2f161c13dee5d2269307e563d4ba43e7c196364f (diff) | |
download | jquery-ui-25398447f172d86114fc61f237da511a1b76fa29.tar.gz jquery-ui-25398447f172d86114fc61f237da511a1b76fa29.zip |
Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass). Fixed #4602 (Remove jQuery.fn.morph).
Diffstat (limited to 'ui')
-rw-r--r-- | ui/effects.core.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/effects.core.js b/ui/effects.core.js index 92e3f1c27..593ee6586 100644 --- a/ui/effects.core.js +++ b/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) { |