Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Pass exports object as "this" #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Pass exports object as "this" #49

wants to merge 1 commit into from

Conversation

ngn
Copy link

@ngn ngn commented Mar 24, 2013

NodeJS does that, so many NodeJS modules rely on having it. On the other hand, a module targeting the browser would almost certainly refer to the window object as "window", not "this".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant