browserquest/BrowserQuest — pull request #1 by justinclift (2012-09-17 08:34:59+00:00)
Title: Choose fs.exists* or path.exists*, depending on Node version.

The "path.exists\*" functions were renamed to "fs.exists\*" from Node v0.7.1 (unstable) onwards, causing distracting messages to appear in our server log.

Copied the approach taken by Etherpad-lite to fix this, adjusted to suit:

https://github.com/marcelklehr/etherpad-lite/commit/c01aaeefc1eb6a7796b17c6873d5718b73c1ac4d