Closed sigv closed 8 years ago
Thanks very much, Valter, this is long overdue for a cleanup :+1:
Yeah, I noticed there are a lot of rough edges. This PR was just implementing the suggestions by JSHint in the lib
subdirectory, but it's a start for sure. Happy to help out! 👍
The carriers file contains duplicate keys. They have been resolved:
Unused variables were defined in the library. They have been resolved:
underscore
module deletedexec
function of thechild_process
module deletedThe carrier argument in text.send was not documented in the library code. That line of documentation has been added.
The carrier argument in text.send was not being checked as strictly equal to null. The triple-equals operator has now been applied to the comparison.
The requires had bad line breakings before commas. The commas have all been moved to ends of lines instead.
On an unrelated not to lint, the console.log call in the text library has been switched out with an output call to obey the debug setting.