Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 5, 2011
1 parent 3a58eb8 commit 3c10c1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Readme.md
Expand Up @@ -56,6 +56,10 @@ via npm:
// the callback can be the second arg
});

// Compile a function
var fn = jade.compile('string of jade', options);
fn.call(scope, locals);

### Options

- `scope` Evaluation scope (`this`)
Expand Down

0 comments on commit 3c10c1f

Please sign in to comment.