aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.js
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-04-10 17:08:18 -0400
committertimmywil <tim.willison@thisismedium.com>2011-04-10 17:08:18 -0400
commit215c507f796db16a6e9230a2ecc27c57a1b85280 (patch)
treec7fcf6828dac4f3be2dadf8149ed570bba2914d3 /src/attributes.js
parentc10a76ec71b49575dad22b26c8675cfa8b41d862 (diff)
downloadjquery-215c507f796db16a6e9230a2ecc27c57a1b85280.tar.gz
jquery-215c507f796db16a6e9230a2ecc27c57a1b85280.zip
Added back support.js test for getSetAttribute and removed some duplicate code that crept into attributes.js
Diffstat (limited to 'src/attributes.js')
-rw-r--r--src/attributes.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/attributes.js b/src/attributes.js
index f7c2e9818..eca7f3478 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -33,20 +33,6 @@ jQuery.fn.extend({
} catch( e ) {}
});
},
-
- prop: function( name, value ) {
- return jQuery.access( this, name, value, true, jQuery.prop );
- },
-
- removeProp: function( name ) {
- return this.each(function() {
- // try/catch handles cases where IE balks (such as removing a property on window)
- try {
- this[ name ] = undefined;
- delete this[ name ];
- } catch( e ) {}
- });
- },
addClass: function( value ) {
if ( jQuery.isFunction( value ) ) {