Closed tripu closed 6 years ago
@tripu I presume the travis problems are related to the fact that this should come after the other PR, right?
“I presume the travis problems are related to the fact that this should come after the other PR, right?”
@iherman, it was some weird error on the part of Travis. I just restarted that one job that had failed, and it succeeded this time.
@tripu, o.k.
Having looked at the proposed changes, they are fine with me, although I was not sure of the logic or rearranging some functions in one of the files...
“I was not sure of the logic or rearranging some functions in one of the files...”
@iherman, I think it was the rule no-use-before-define
the one that was triggering; some functions were invoked before they were defined in the file. I moved those function definitions. (It's not an error in JS, but with the arrival of new block-level keywords let
and const
it's better to have definitions before usage always, including var
statements and function
declarations, for consistency.)
To examine actual changes here post-#50, review this diff instead.
TODO: lint
CGI/
too and fix errors there!:warning: To be merged after #50 is merged.