module.exports = function (arg) { ... }
On Thu, Aug 28, 2014 at 8:28 AM, Pawel Por <[email protected]> wrote:
> Hi,
>
> How can I receive additional "require" argument inside a native module.
> Assume the following javascript code:
> var user = require('./user')(client);
>
> How can I receive "client" argument in a native module.
> Could you please provide a short code snippet.
>
> thanks
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/b6eb3146-18f8-4cce-9fb1-711d6588d6c4%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/b6eb3146-18f8-4cce-9fb1-711d6588d6c4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/CAPJ5V2Yc-Q785DBoePLBDGAqu-xWRp76j5qPuXxHL9p30aapzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.