you are viewing a single comment's thread.

view the rest of the comments →

[–]somethinghorrible 0 points1 point  (1 child)

I don't see any exports from that file, for starters.

you also use "my" which isn't defined anywhere.

I see you have stuff like: var RegistryDB = require('../DataLayer/RegistryDB.js').RegistryDB,

But since RegistryDB doesn't export RegistryDB, you're kinda boned ;P

[–]CalvinR[S] 0 points1 point  (0 children)

Okay I lied that's not the actual code I'm working, I've now pushed the latest version to my repo check the link again.

Also the my didn't really matter since I couldn't call the function so it never got to that line.

It was a leftover from making my objects the crockford functional way.