Re: [FLEXJS] ASDoc Issues

2017-06-30 Thread Peter Ent
Ah, I misunderstood which asdoc-config file.

On 6/30/17, 1:31 PM, "Alex Harui"  wrote:

>The asdoc target doesn't work because we've extended ActionScript for
>FlexJS.  We only care about the ASDoc Example.  I guess we should comment
>out the asdoc target for now.  Also, it looks like the ASDoc example uses
>its own asdic-config.xml file in its src/main/config folder.
>
>-Alex
>
>On 6/30/17, 10:25 AM, "Peter Ent"  wrote:
>
>>I'm running the asdoc target in flex-asjs and it has rejected a couple of
>>things in Core/main/flex/Promise.as such as:
>>
>>[asdoc] 
>>/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.
>>a
>>s(270): col: 19 Error: Syntax error: expecting identifier before catch.
>>[asdoc]
>>[asdoc] public function catch(onRejected:Function = null):IThenable
>>
>>Since "catch" is a keyword I'm surprised this compiles at all. Should
>>Promise.as be excluded from ASDoc for now?
>>
>>‹peter
>



Re: [FLEXJS] ASDoc Issues

2017-06-30 Thread Alex Harui
The asdoc target doesn't work because we've extended ActionScript for
FlexJS.  We only care about the ASDoc Example.  I guess we should comment
out the asdoc target for now.  Also, it looks like the ASDoc example uses
its own asdic-config.xml file in its src/main/config folder.

-Alex

On 6/30/17, 10:25 AM, "Peter Ent"  wrote:

>I'm running the asdoc target in flex-asjs and it has rejected a couple of
>things in Core/main/flex/Promise.as such as:
>
>[asdoc] 
>/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.a
>s(270): col: 19 Error: Syntax error: expecting identifier before catch.
>[asdoc]
>[asdoc] public function catch(onRejected:Function = null):IThenable
>
>Since "catch" is a keyword I'm surprised this compiles at all. Should
>Promise.as be excluded from ASDoc for now?
>
>—peter



[FLEXJS] ASDoc Issues

2017-06-30 Thread Peter Ent
I'm running the asdoc target in flex-asjs and it has rejected a couple of 
things in Core/main/flex/Promise.as such as:

[asdoc] 
/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.as(270):
 col: 19 Error: Syntax error: expecting identifier before catch.
[asdoc]
[asdoc] public function catch(onRejected:Function = null):IThenable

Since "catch" is a keyword I'm surprised this compiles at all. Should 
Promise.as be excluded from ASDoc for now?

—peter