Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(TreeRunner): Prevents returning an empty callback for AMD-ish mod…
…ules By default, the behavior of fetch rules was to return cb('') when the module exists. For AMD-like modules, this is undersirable since AMD modules can be dynamic by nature. This fix protects the if checks by ensuring we are looking at an AMD-like module before running these tests.
- Loading branch information
Emerson Yu
committed
Mar 6, 2014
1 parent
eede762
commit 1bf3aac
Showing
3 changed files
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.