Hi, Thanks for the direction, but I found it at beg of module.js, it has a line: var NativeModule = require('native_module'); is the require here refers to:
Module.prototype.require = function(path) { return Module._load(path, this); }; ? On Nov 15, 8:21 pm, Вадим Барышев <vadimbarys...@gmail.com> wrote: > This is node.js function. You can start > herehttps://github.com/joyent/node/blob/master/lib/module.js#L361 > > четверг, 15 ноября 2012 г., 16:17:32 UTC+4 пользователь Angelo Chen написал: > > > > > > > > > > > Hi, > > > var fs = require('fs'); > > I'd like to understand this a little more, require is part of v8 JS? or > > nodejs function? if yes, where can I find it in Nodejs's source code? > > thanks, > > > Angelo -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en