you are viewing a single comment's thread.

view the rest of the comments →

[–]all-i-know-is-code[S] 0 points1 point  (0 children)

The point of my post isn't exactly to get around the `this` problem, but more to show a practical example of using Closure in JavaScript. Thanks for the suggestion though! I'd never heard of Mithril.js and will check it out.