plotly/plotly-nodejs — pull request #10 by oppenlander (2014-11-17 20:42:17+00:00)
Title: Make plotly.saveImage return a callback when it has finished successfully.

Previously saveImage only called the callback when it failed.
It also did not check if the callback existed before trying to use it, even though it is an optional parameter.