The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-require-cache.js @ 6f043940

History | View | Annotate | Download (1.65 KB)

# Date Author Comment
55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

e27418ca 12/13/2010 08:58 PM Felix Geisendörfer

Prefer require.cache over native module cache

This patch changes node's module loading behavior so that the
require.cache is always the first place to consider when loading a
module.

The motivation for this change is to help people who are writing
focused tests for their node.js applications, and need a mechanism...