Re:Went Off The Rails: Why I'm Rebuilding Archaeopteryx In C...
by MatthewPhillips on Friday February 24, 2012 @01:52PM
(#3630399)
Right, I excluded the bind for the sake of simplicity.
I also forgot that it's this.dataGot. dataGot doesn't exist in that context :)
In the example above, you're unable to use ''this'' in the ''dataGot'' function (when invoked as a callback).
Object orientedness is very easy to get wrong in JavaScript, if you're coming from C++/Java/Python background.