meltingice/CamanJS — pull request #129 by usefulthink (2013-12-12 10:05:43+00:00)
Title: fixes for node.js compatibility-problems

- replace `document.createElement('img')` with its equivalent `new
Image()` which works both in node and the browser.
- added a third-parameter `callback` to the `nodeSave`-function,
passing the result of `fs.writeFile()`