Closed topliceanu closed 11 years ago
:+1:
10x CC @aismail @valentinzberea @skidding
Awesome stuff :+1: , I think it's rightly placed. This should open our eyes for naming inconsistencies and having too many variables
Here is the list of widget states: https://github.com/uberVU/mozaic/blob/master/core/widget/states.coffee#L132-L137 It would be great if sometime we could refactor the states strings in a separate structure.
It happened that we put 'initial'
instead of 'init'
in several places mislead by the variable name: @initial_state
subscribed_channels
,template_name
, etc.Do this in
widget/widget.coffee