ollym / parrot

A lightning fast and lightweight templating engine for Node.js
38 stars 7 forks source link

fs.readFile example update in documentation #2

Closed ldhieu closed 13 years ago

ldhieu commented 13 years ago

Hi Olly,

The previous example if followed through will throw errors as it expects data to be second, and err to be first.

cf node's official documentation (as of 0.4.11).

Cheers, Hieu

ollym commented 13 years ago

Thanks for this. Much appreciated.