flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: Avoiding goog renaming
Date Tue, 13 Dec 2016 21:23:00 GMT
Do you mean /*@externs*/ or @externs (which is currently not valid code)?

On Dec 13, 2016, at 6:19 PM, Alex Harui <aharui@adobe.com> wrote:

> 
> 
> On 12/13/16, 12:48 AM, "Harbs" <harbs.lists@gmail.com> wrote:
> 
>> What I’d really like to do would be to define a class like this:
>> 
>> package
>> {
>> 	import stream.Stream;
>> 
>>   [Extern]
>>   public class JSZip
>> 	{
>> 		public function generateNodeStream(nsp:NodeStreamParam):Stream{
>> 			return null;
>> 		}
>> 	}
>> 
>> }
>> And the compiler would know to generate externs from this class and it
>> should “just work”.
>> 
>> This would make it MUCH easier to create swc libraries of externs as well.
> 
> File a JIRA.  Although I would much rather use @externs instead [Externs]
> 
> -Alex
> 


Mime
View raw message