Commit 475f89b6 authored by Ariel Flesler's avatar Ariel Flesler

testrunner: adding tests for $.fn.hasClass.

parent 615a4ce1
...@@ -350,7 +350,7 @@ jQuery.fn = jQuery.prototype = { ...@@ -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 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment