Skip to content

Commit 6d19095

Browse files
committed
Fix Node.js usage example.
1 parent e98fad0 commit 6d19095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ Add a file **server.js** with the following content:
9797
require("http").createServer(function (req, res) {
9898
var fs = require("fs"),
9999
// The tmpl module exports the tmpl() function:
100-
tmpl = require("./tmpl").tmpl,
100+
tmpl = require("./tmpl"),
101101
// Use the following version if you installed the package with npm:
102-
// tmpl = require("blueimp-tmpl").tmpl,
102+
// tmpl = require("blueimp-tmpl"),
103103
// Sample data:
104104
data = {
105105
"title": "JavaScript Templates",

0 commit comments

Comments
 (0)