Permalink
Browse files

fix typos

  • Loading branch information...
jlongster committed Aug 28, 2012
1 parent aa51849 commit 30b9723b0adbc54cbf0837183d3155403a2bc026
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -210,7 +210,7 @@ about the `Environment` in
[jinja2](http://jinja.pocoo.org/docs/api/#basics)).
The `Environment` constructor takes an optional list of
-[loaders](#loaders). You can pass a single loader or a an array of
+[loaders](#loaders). You can pass a single loader or an array of
loaders. Loaders specify how to load templates, whether its from the
file system, a database, or a different source.
@@ -232,7 +232,7 @@ var env = new nunjucks.Environment([new nunjucks.FileSystemLoader('templates'),
#### Methods:
-*init(loaders)* - Create a `Template` object with the template
+*init(loaders)* - Create an `Environment` object with the template
loaders. `loaders` can be an array or a single loader. If none is
specified, it defaults to a FileSystemLoader with the current working
directory.

0 comments on commit 30b9723

Please sign in to comment.