return cached instance when requiring aliased module #261

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@jsdnxx
Contributor
jsdnxx commented Dec 28, 2012

previously, if, for example, aliasing jquery to jquary-browserify, require('jquery') would always return a new instance of jquery-browserify, which is not how node's require works. This patch properly returns the same instance for aliased modules.

@substack
Owner

Thanks for this patch but v2 doesn't even have aliases.

@substack substack closed this Feb 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment