coolbloke1324/node-jsrender — pull request #2 by dahmian (2013-06-14 20:32:17+00:00)
Title: loadFileSync node v0.8 fix

loadFileSync does not work in node v0.8, this fix is to use the v0.8 style of readFileSync that still is supported in v0.10

https://github.com/coolbloke1324/node-jsrender/issues/1

https://github.com/joyent/node/wiki/Api-changes-between-v0.8-and-v0.10
FS readFile(), writeFile(), appendFile() and their Sync counterparts
now take an options object (but the old API, an encoding string, is
still supported)