modules dont have a `module` variable #141

Open
dunkfordyce opened this Issue Aug 6, 2011 · 0 comments

1 participant

@dunkfordyce

commonjs modules should have access to a module variable which contains an exports attribute. this is how nodejs works. it would be usefull to have this in place so its possible to use modules that utilize this.

the common use of this is to assign a new exports variable which is common in modules that work in the browser and server side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment