Fixed Need to make checks that the callback is a proper function and eventName is a proper value as well #2

Fixed Null/undefined for param values to 'on' and 'once' methods.
Good point. Will update
On Jul 24, 2014 10:18 AM, "Alexey Novak" <notifications@github.com> wrote:

> In tests/js/events-tests.js:
>
> > @@ -174,6 +201,14 @@
> >        it('once', function() {
> >          test(true);
> >        });
> > +
> > +      it('on null/undefined checks', function() {
> > +        nullUndefinedTest(true);
>
> since change was made for _addListener() then it makes sense to create
> tests for _addListener() and not on() not once()
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/anvk/Events.js/pull/6/files#r15348474>.
>