26
I have a module.js that must be loaded; In order to work needs objectX;
How do I pass the objectX to the module.js in the require method provided by node.js?
thanks
// my module.js
objectX.add('abc');
// error: objectX is undefined
I would like a way to do it, without having to change all my classes because would take a lot of time... and they way it is has good performance for the client side. (I mix clientfiles with serverfiles***)