jBone suffers on a syntax error SyntaxError: An invalid or illegal string was specified while using empty classes or invalid classes for addClass(), removeClass(), toggleClass() and hasClass()...
Check out the updated attributes.js and testing suite.
I wondered why you not using the native classList.toggle() for your toggleClass() method
I reordered the hasClass testing according to the position in attributes.js
jBone suffers on a syntax error
SyntaxError: An invalid or illegal string was specified
while using empty classes or invalid classes foraddClass()
,removeClass()
,toggleClass()
andhasClass()
...Check out the updated
attributes.js
and testing suite.attributes.js