Fix TypeError when calling $.fn.off() with no args.
Ensure types is not null
Merge branch 'TimMoore-no-args-off'