You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nodeName should default to an empty String and only set the nodeName if a node exists in the jQuery object. That way the switch statement will break and continue to line 116 where a more useful error message will be thrown.
Not a huge issue, but one I ran into a little bit while writing tests.
I'll try to get to this sometime this week.
The text was updated successfully, but these errors were encountered:
If no nodes exist that match .foo then
will result in an exception, because https://github.com/LearnBoost/tobi/blob/master/lib/jquery/index.js#L89 is expecting a node to exist.
The nodeName should default to an empty String and only set the nodeName if a node exists in the jQuery object. That way the switch statement will break and continue to line 116 where a more useful error message will be thrown.
Not a huge issue, but one I ran into a little bit while writing tests.
I'll try to get to this sometime this week.
The text was updated successfully, but these errors were encountered: