http://jsfiddle.net/Eu7wc/4/ 

On Saturday, June 2, 2012 5:39:58 PM UTC+2, verylastminute wrote:
>
> You can't use variable keys in a JSON data structure (your first fiddle) 
> and you need to prefix your constant with "on" ("onButtonReady", your 
> second fiddle).
>
> On Saturday, June 2, 2012 4:02:43 PM UTC+2, t.patrick.welborn wrote:
>>
>> What if I wanted to emulate public static constants for event listener 
>>> names? How do I broadcast/receive static constants in MooTools? 
>>>
>>>    - When I try to use variables for the event listener it does not 
>>>    work: http://jsfiddle.net/Eu7wc/1/ 
>>>    - Even if I change the event listener to a string, but fire the 
>>>    static constant, the console logs nothing: 
>>>    http://jsfiddle.net/Eu7wc/2/
>>>    
>>> Patrick
>>>
>>

Reply via email to