Many popular libraries use the following or a similar idiom:
The ProcessCommonJSModules class converts this to the following:
module will not be defined, so the greeting object will not be assigned to the new module namespace. We need to check with the Google Closure compiler mailing list if we can submit a patch that replaces module so that the condition succeeds.
Many popular libraries use the following or a similar idiom:
The ProcessCommonJSModules class converts this to the following:
module
will not be defined, so thegreeting
object will not be assigned to the new module namespace. We need to check with the Google Closure compiler mailing list if we can submit a patch that replacesmodule
so that the condition succeeds.