javscript classes are turning my brain inside out

Re: javscript classes are turning my brain inside out

by Matt Gibson -
Number of replies: 0
Thanks Gordon and Colin!

I managed to get it working last night by using var tree = instead of this.tree = and then referring to tree.draw() but it seemed hacky and inelegant.

I'll try both of these methods over the weekend and see which one leaves me with the smallest source file for the whole project. Its already a 55k include, so I need to shave as much as possible before minifying it.

Matt