Permalink
Browse files

Typo

  • Loading branch information...
Luu-Danh, Hieu
Luu-Danh, Hieu committed Sep 10, 2011
1 parent 44f2582 commit 45be0e54fcb4bc520dc96d26d4089a46b3263869
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.md
View
@@ -76,14 +76,14 @@ Within your application, you can use parrot like the following:
Where the input variable is a string you would like parrot to render. If you would like to render a file, do the following:
- ```javascript
- var parrot = require('./lib/parrot');
- var fs = require('fs');
- fs.readFile(file, encoding, function(err, data) {
- if (err) throw err;
- var output = parrot.render(data);
- });
- ```
+```javascript
+var parrot = require('./lib/parrot');
+var fs = require('fs');
+fs.readFile(file, encoding, function(err, data) {
+ if (err) throw err;
+ var output = parrot.render(data);
+});
+```
Where file is a string value of the file you wish to render, and output is the rendered template.

0 comments on commit 45be0e5

Please sign in to comment.