kitajchuk / hobo

A very small, modular DOM utility for modern web apps.
MIT License
13 stars 2 forks source link

TypeError when using removeClass() method without an argument. #1

Closed ghost closed 8 years ago

ghost commented 8 years ago

Looks like if you don't pass a class to the method it will return an error due to an undefined classes argument.

Currently using:

element.className = "";

to handle removal of classes for now.