Comparing version 0.0.4 to 0.0.5
@@ -117,2 +117,9 @@ // (The MIT License) | ||
/* | ||
* Expand the name before we try and find it in the cache | ||
*/ | ||
if (id.charAt(0) === '.') { | ||
id = ClientModule.require('path').join(parentPath, id); | ||
} | ||
cached = ClientModule.getCached(id); | ||
@@ -124,6 +131,2 @@ | ||
if (id.charAt(0) === '.') { | ||
id = ClientModule.require('path').join(parentPath, id); | ||
} | ||
if (id) { | ||
@@ -219,3 +222,3 @@ ClientModule.load(id); | ||
* | ||
* @param {string} parentPath | ||
* @param {string} id | ||
* @api private | ||
@@ -222,0 +225,0 @@ */ |
{ | ||
"name": "knot", | ||
"description": "A client side Node experiment.", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Richard S Allinson", |
@@ -24,3 +24,3 @@ // (The MIT License) | ||
'use strict'; | ||
//'use strict'; | ||
@@ -27,0 +27,0 @@ var util = require('util'); |
96945
2393