Skip to content

Commit

Permalink
initial support for __filename and __dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Jan 31, 2013
1 parent d5bc4d0 commit 6444f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/require.js
Expand Up @@ -54,7 +54,7 @@ function require(name) {
req.main = module;
}

details.fn.call(window, window, module, module.exports, req);
details.fn.call(window, window, module, module.exports, req, name, details.offset);
return module.exports;
}

Expand Down

0 comments on commit 6444f08

Please sign in to comment.