skiadas / PanthR

Statistics front-end and webserver with R connection
1 stars 2 forks source link

exports should be module.exports in user.js #32

Closed phamd1989 closed 11 years ago

phamd1989 commented 11 years ago

On line 22, exports should be changed to module.exports. One possible reason is that the exports variable looks up to find the module object. Therefore, if we only have exports, the compiler will think we are trying to create a local exports variable.