node-inspector/node-inspector — pull request #342 by bajtos (2014-04-08 06:55:12+00:00)
Title: ScriptFileStorage: fix fs.readFile usage on v0.8

Pass the fs.readFile encoding as a string instead in an options object.

The options object was introduced by Node v0.10 and is not available in
Node v0.8. When called with the options object, Node v0.8 calls the
callback with a Buffer instead of a string, which causes type error
`content has no method 'replace'`.

/to @3y3 please review

Close #335.