Navigation Menu

Skip to content

Commit

Permalink
Add todo, remove unused code
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
vojtajina committed Jul 24, 2012
1 parent 688aa82 commit 90793c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Expand Up @@ -89,6 +89,7 @@ var loadFile = function(filePath, mocks, globals) {
var exports = {};
var context = {
require: function(name) {
// TODO(vojta): solve loading "localy installed" modules
return mocks[name] || require(resolveModule(name));
},
__dirname: path.dirname(filePath),
Expand Down Expand Up @@ -126,4 +127,3 @@ var loadFile = function(filePath, mocks, globals) {
// PUBLIC stuff
exports.loadFile = loadFile;
exports.predictableNextTick = predictableNextTick;
exports.predictableNextTickPattern = [0];

0 comments on commit 90793c7

Please sign in to comment.