File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -156,12 +156,16 @@ test( "outerHeight(true) - setter", function() {
156
156
test ( "uniqueId / removeUniqueId" , function ( ) {
157
157
var el = $ ( "img" ) . eq ( 0 ) ;
158
158
159
- // TODO use equal(id, undefined) when dropping jQuery 1.6 support (or IE6/7)
159
+ // support: jQuery <1.6.2
160
+ // support: IE <8
161
+ // We should use equal( id, undefined ) when dropping jQuery 1.6.1 support (or IE6/7)
160
162
ok ( ! el . attr ( "id" ) , "element has no initial id" ) ;
161
163
el . uniqueId ( ) ;
162
164
ok ( / u i - i d - \d + $ / . test ( el . attr ( "id" ) ) , "element has generated id" ) ;
163
165
el . removeUniqueId ( ) ;
164
- // TODO see above
166
+ // support: jQuery <1.6.2
167
+ // support: IE <8
168
+ // see above
165
169
ok ( ! el . attr ( "id" ) , "unique id has been removed from element" ) ;
166
170
} ) ;
167
171
You can’t perform that action at this time.
0 commit comments