Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't complain about missing module.resolve until necessary.
Calling require("reify/lib/runtime").enable(Module.prototype) before Module.prototype.resolve has been defined is fine, as long as the resolve method is defined before module.link calls it. If it's still undefined then, an exception will be thrown, which fulfills the same purpose as the exception removed by this commit.
- Loading branch information