Skip to content

Commit

Permalink
Make this == exports
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed May 22, 2010
1 parent 481e8e3 commit f1d043c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nodules.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function makeRequire(currentId){
var module = modules[uri] = modules[uri] || new Module(uri);
module.dependents[currentId] = true;
var currentFile = cachePath(uri);
exports = factories[uri](makeRequire(uri), exports, module,
exports = factories[uri].call(exports, makeRequire(uri), exports, module,
currentFile, currentFile.replace(/\/[^\/]*$/,''),
makeWorker(WorkerConstructor, uri), makeWorker(SharedWorkerConstructor, uri))
|| exports;
Expand Down

0 comments on commit f1d043c

Please sign in to comment.