Problem: I define a constructor in JavaScript, I've tried almost every pattern I can think of / Google. For some reason no matter what I do when I call a member function of that object the this
keyword is always bound to window
. I don't know what to do.
JsFiddle: http://jsfiddle.net/za6SN/2/