kripken/emscripten — pull request #1510 by inolen (2013-08-14 03:25:47+00:00)
Title: make FS.readdir easier to use

Was integrating the new filesystem changes into quakejs tonight and realized there wasn't much reason to make users FS.open, FS.readdir and FS.close to read directory contents.

With that said, FS.readdir now takes in a path instead of a stream instance.

Ran o1, other and browser.