Skip to content

Commit 4a79ab4

Browse files
committed
Derp.
1 parent b1ee356 commit 4a79ab4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

not.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ shortcuts['script'] = function(builder, scope, args) {
197197
shortcuts['include'] = function(builder, scope, args) {
198198
shortcuts['done'](builder, scope, args);
199199
var pathname = args[0];
200-
if (this.basepath) {
200+
if (builder.basepath) {
201201
var path = require('path');
202-
pathname = path.join(basepath, pathname);
202+
pathname = path.join(builder.basepath, pathname);
203203
}
204204
var result = require(pathname);
205205
var res = renderFunction(result, scope, new builder.constructor());

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "not.js",
33
"repository": "git://github.com/weswigham/not.js",
4-
"version": "0.0.4",
4+
"version": "0.0.5",
55
"license": "MIT",
66
"description": "A simple, html template dsl.",
77
"keywords": [

0 commit comments

Comments
 (0)