Skip to content

Commit

Permalink
All modules to be looked up by ID even when no file is being processed.
Browse files Browse the repository at this point in the history
  • Loading branch information
csnover committed May 31, 2012
1 parent 5cf4991 commit 52e7015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Module.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ define([ 'dojo/_base/lang', './Value', './env', './File', './console' ], functio
throw new Error('Do not request special modules from Module.');
}

id = env.file.resolveRelativeId(id);
id = env.file ? env.file.resolveRelativeId(id) : id;

if (!_moduleMap[id]) {
console.status('Processing module', id);
Expand Down

0 comments on commit 52e7015

Please sign in to comment.