This would previously be printed in part of the test log:
(node:1628) [DEP0016] DeprecationWarning: 'root' is deprecated, use 'global'
Apparently, the global object was once called root, and this assignment
didn't have a `var`, so it was actually setting the global object.
I do wonder why that didn't break anything, but this is clearly what was
intended.
- The new signature is:
createClient(options, initCB), where
- options is an optional object that defines different parameters such as
display, etc.
- initCB is an optional callback with the signature: function(err, display)
- The initCB is going to be called with an error ONLY if the connection to the X
server fails. Further errors in the server connection will be 'emitted'.
- Update tests and test-runner.js accordingly.
- Update README.