Closed andrew-nguyen closed 10 years ago
@andrew-nguyen Can you post the error you are seeing?
@ckirkendall How much detail would you like? The top-level error is:
Uncaught TypeError: Cannot read property 'match' of null
I don't have source-maps enabled right now but the stack goes from the offending line in my code to core
Ok, that is what I thought I will fix this as soon as I can. It is being thrown by has-class? and is due to passing null to the regular expression check.
Creighton
On Wed, Apr 23, 2014 at 2:34 PM, Andrew Nguyen notifications@github.comwrote:
@ckirkendall https://github.com/ckirkendall How much detail would you like? The top-level error is:
Uncaught TypeError: Cannot read property 'match' of null
I don't have source-maps enabled right now but the stack goes from the offending line in my code to core
— Reply to this email directly or view it on GitHubhttps://github.com/ckirkendall/kioo/issues/19#issuecomment-41197913 .
This was actually fixed some time ago. I pushed the 0.4.0 version out and the fix should be present in there.
If the HTML is
then
throws an error.
Currently, the simple workaround is to add 'class=""'.
I don't know what the intended semantics of "add-class" are but I had assumed that you can "add" the first class.