testrunner: adding tests for $.fn.hasClass.
This commit is contained in:
parent
615a4ce1b4
commit
475f89b651
|
@ -350,7 +350,7 @@ jQuery.fn = jQuery.prototype = {
|
||||||
},
|
},
|
||||||
|
|
||||||
hasClass: function( selector ) {
|
hasClass: function( selector ) {
|
||||||
return this.is( "." + selector );
|
return !!selector && this.is( "." + selector );
|
||||||
},
|
},
|
||||||
|
|
||||||
val: function( value ) {
|
val: function( value ) {
|
||||||
|
|
Loading…
Reference in a new issue