flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: Snippets for FlexJS
Date Mon, 05 Dec 2016 22:10:01 GMT
Some more:

CurrencyFormatter.json has the following:

          "params": [{ name: "value", type: "Object"}

name and type need to be surrounded by quotes.

I’m done for the night… ;-)

On Dec 6, 2016, at 12:07 AM, Harbs <harbs.lists@gmail.com> wrote:

> Accordion.json looks like it has two errors as well:
> 1. The leading comma here: 
> "members": [
>  ,
> 2. The trailing comma here:
> "namespace": "public”,
> 
> On Dec 6, 2016, at 12:04 AM, Harbs <harbs.lists@gmail.com> wrote:
> 
>> That looks good.
>> 
>> I randomly opened some other files and ComboBox has the following error:
>> 
>> parse error: invalid object key (must be a string)
>>         he.flex.events.Event",       }]   } 
>>                    (right here) ------^
>> 
>> The problem looks like a trailing comma near the end of the file. (after Event)
>> 
>> On Dec 5, 2016, at 11:57 PM, Alex Harui <aharui@adobe.com> wrote:
>> 
>>> Thanks for checking.  I think I have it as valid JSON now and updated the
>>> zip.
>>> 
>>> -Alex
>>> 
>>> On 12/5/16, 12:19 PM, "Harbs" <harbs.lists@gmail.com> wrote:
>>> 
>>>> It looks like there’s an error in the JSON. I opened CheckBox.json and
I
>>>> got the following error:
>>>> 
>>>> parse error: after key and value, inside map, I expect ',' or '}'
>>>>            "values": ["3.0"]}  ]  "return": "",           "params"
>>>>                  (right here) ———^
>>>> 
>>>> It looks like there’s a comma missing.
>>>> 
>>>> On Dec 5, 2016, at 9:38 PM, Alex Harui <aharui@adobe.com> wrote:
>>>> 
>>>>> I just pushed a new set of json files.  The accessors should now have
>>>>> "return" fields.
>>>>> Looks like default values are supposed to come from @default tags in
the
>>>>> ASDoc, which we haven't written yet. I added one to CheckBox just to
see
>>>>> if it would work and it does appear in the output.  We would need some
>>>>> volunteers to help populate the ASDoc with @default tags.
>>>>> 
>>>>> Let me know if there are other things missing.
>>>>> 
>>>>> [1] http://home.apache.org/~aharui/FlexJS/asdoc-output.zip
>>>>> 
>>>>> 
>>>>> Thanks,
>>>>> -Alex
>>>>> 
>>>> 
>>> 
>> 
> 


Mime
View raw message