Skip to content
Permalink
Browse files

No ticket: Small simplification of .removeProp. Close gh-1227.

  • Loading branch information...
markelog authored and gibson042 committed Apr 7, 2013
1 parent 18d0067 commit eaedf098b311b2aaa48970b284e3b426562d0614
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/attributes.js
@@ -20,10 +20,8 @@ jQuery.fn.extend({
},

removeProp: function( name ) {
name = jQuery.propFix[ name ] || name;
return this.each(function() {
this[ name ] = undefined;
delete this[ name ];
delete this[ jQuery.propFix[ name ] || name ];
});
},

0 comments on commit eaedf09

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.