In QuickUI 0.9.4, I can't get the following code to work anymore:
class window.Demo extends Control
initialize: ->
@someProp = 100
doStuff: ->
@someProp
Demo.create().doStuff #returns undefined
If I set someProp from any other function it works. The same code was working in a previous version of QuickUI. It seems like "this" in the initialize function is something completely different from elsewhere.
I'm using CoffeeScript 1.6.2. Any advice?