aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effect.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2015-01-12 17:19:46 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2015-01-13 15:05:54 +0100
commit9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f (patch)
treed78bd59d06e6f6805abe8245450b96fd33fb0226 /ui/effect.js
parent8cc636dd448afb8df7147640a7fbfb67f7d53623 (diff)
downloadjquery-ui-9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f.tar.gz
jquery-ui-9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f.zip
All: Drop support for jQuery 1.6.x
Affects core, effects, position and widget. Only position has unit tests that fail with jQuery 1.6 without the workaround. Drops the 1.6.x copies jQuery of jQuery and removes them from the select in the testsuites. Fixes #10723 Closes gh-1422
Diffstat (limited to 'ui/effect.js')
-rw-r--r--ui/effect.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/effect.js b/ui/effect.js
index f488ffafd..cc9a91045 100644
--- a/ui/effect.js
+++ b/ui/effect.js
@@ -936,14 +936,6 @@ if ( $.uiBackCompat !== false ) {
for ( ; i < length; i++ ) {
if ( set[ i ] !== null ) {
val = element.data( dataSpace + set[ i ] );
- // support: jQuery 1.6.2
- // http://bugs.jquery.com/ticket/9917
- // jQuery 1.6.2 incorrectly returns undefined for any falsy value.
- // We can't differentiate between "" and 0 here, so we just assume
- // empty string since it's likely to be a more common value...
- if ( val === undefined ) {
- val = "";
- }
element.css( set[ i ], val );
}
}