keys should be converted to strings
erikvold opened this issue · 0 comments
erikvold commented
The following code
kibo.down([0, 5], function() {
return false;
});
Produces the following error:
Error: string.replace is not a function
Source File: http://localhost:8500/hotspotter/libs/3rdParty/kibo.js
Line: 107
So I think that the keys input for kibo.down
etc should be converted to a string, so that we are certain it is a string. Or there should be some argument validation.