We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177d0f2 commit 310dff1Copy full SHA for 310dff1
ui/jquery.ui.core.js
@@ -252,6 +252,19 @@ if ( !$( "<a>" ).outerWidth( 1 ).jquery ) {
252
});
253
}
254
255
+// support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413)
256
+if ( $( "<a>" ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) {
257
+ $.fn.removeData = (function( removeData ) {
258
+ return function( key ) {
259
+ if ( arguments.length ) {
260
+ return removeData.call( this, $.camelCase( key ) );
261
+ } else {
262
+ return removeData.call( this );
263
+ }
264
+ };
265
+ })( $.fn.removeData );
266
+}
267
+
268
269
270
0 commit comments