Skip to content
Browse files

Move back to wrapping entry using (function() {...})()

  • Loading branch information...
1 parent c0635a1 commit a76f6b6d3b9597fc3f47e82f79aa607963641211 @itay itay committed Sep 8, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/entry/main.js
  2. +2 −2 wrappers/entry.js
View
2 test/entry/main.js
@@ -1 +1 @@
-done(require('./one'), require('./two'));
+done(require('./one'), require('./two'));
View
4 wrappers/entry.js
@@ -1,4 +1,4 @@
-process.nextTick(function () {
+(function () {
var module = { exports : {} };
var exports = module.exports;
var __dirname = $__dirname;
@@ -10,4 +10,4 @@ process.nextTick(function () {
require.modules = __require.modules;
$body;
-});
+})();

0 comments on commit a76f6b6

Please sign in to comment.
Something went wrong with that request. Please try again.