Browse files

wrong example in readme

oh my gosh
  • Loading branch information...
1 parent b0cefd7 commit ac7328227c17041272b3f4d0c75303fe7235d73b @dodo committed Aug 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -16,13 +16,13 @@ $ npm install dt-stream
var Template = require('dynamictemplate').Template;
var streamify = require('dt-stream');
-var stream = streamify(new Template({schema:5, pretty:true}, function () {
+var template = streamify(new Template({schema:5, pretty:true}, function () {
this.$html(function () {
this.$body("hello world");
});
}));
-stream.pipe(process.stdout);
+template.stream.pipe(process.stdout);
/* → stdout:
<html>

0 comments on commit ac73282

Please sign in to comment.