Re: Re: FlexJS

2017-08-12 Thread vincent
Bonjour, En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à mon retour. Cordialement, Vincent/AFTER24

Re: FlexJS

2017-08-12 Thread Alex Harui
I think it depends a bit on what access you need to the HTML snippet. You should be able to use innerHTML to inject any kind of HTML in a Div. But the ids in the HTML aren't accessible to AS code. So, yes, you will need to wrap every HTML component with AS to access it from AS. -Alex On 8/12/1

Re: FlexJS

2017-08-12 Thread Harbs
>> I think there is another set that has the same name as the HTML elements, Right. That’s what I’m referring to when I mention “HTML” (as opposed to “Basic”. > On Aug 13, 2017, at 1:35 AM, Harbs wrote: > > The goal is to make it easy to fill in with simple HTML when there is no > ready-to-go

Re: FlexJS

2017-08-12 Thread Harbs
The goal is to make it easy to fill in with simple HTML when there is no ready-to-go FLexJS components. I’d like to be able to use MXML to mark up some HTML and just have the CSS “work”. For example, I just tried using this https://stackoverflow.com/a/39846603

Re: FlexJS

2017-08-12 Thread Alex Harui
I don't understand your goal. What is a "full wrapper"? Many Basic component already wrap HTMLElements. I think there is another set that has the same name as the HTML elements, like Div, A, etc. -Alex On 8/12/17, 2:56 PM, "Harbs" wrote: >Changing the namespace is not enough. > >The package

Re: [FlexJS][Docs] Started with some docs using a github repo

2017-08-12 Thread piotrz
Olaf, I think I get lost a bit. I've tried edit Moonshine sub page. I clicked on it and click Edit, but it's appear as an separate page. [1][2] Why it happened ? [1] https://github.com/ok-at-github/flexjs-docs/wiki/Moonshine-IDE [2] https://github.com/ok-at-github/flexjs-docs/wiki/Moonshine Tha

Re: FlexJS

2017-08-12 Thread Harbs
Changing the namespace is not enough. The package path of Basic is org.apache.flex.html. Unless we change the package path of HTML to be different than Basic, classes cannot be named the same… > On Aug 13, 2017, at 12:25 AM, Harbs wrote: > > Namespace for HTML components. > > The list of HTML

FlexJS

2017-08-12 Thread Harbs
Namespace for HTML components. The list of HTML components is not complete. For example, Label does not exist in HTML. It only exists in Basic. The Label there inserts various formatting which is normally expected. I’d like to fill out the HTML components to be full wrappers for simple HTML el

Re: [FlexJS] Browser compatibility

2017-08-12 Thread Harbs
There’s nothing really built in, but there is a class that does browser sniffing so it’s possible to write conditional code. Check out BrowserInfo. > On Aug 12, 2017, at 9:37 PM, Olaf Krueger wrote: > > And if there's nothing already implemented to ensure browser compatibility > what could fol

Re: [FlexJS] Browser compatibility

2017-08-12 Thread Olaf Krueger
And if there's nothing already implemented to ensure browser compatibility what could folks do if they have issues with some browsers? Is there something like a conditional compiling for different browsers? Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n4

Re: [FlexJS] Browser compatibility

2017-08-12 Thread Olaf Krueger
But what mechanism takes care of the compatibility with the main browsers like IE, Edge, Chrome, Firefox, Safari and all those particular versions? Or is there no magic needed and it just works for whatever needed? Thanks, Olaf -- View this message in context: http://apache-flex-development.2

Re: [FlexJS][Docs] Started with some docs using a github repo

2017-08-12 Thread Harbs
One suggestion: I think you should explicitly set a permissive license to any content on the wiki so we can repurpose it however we like without worrying about licensing afterwards. > On Aug 9, 2017, at 2:13 PM, Olaf Krueger wrote: > > Hi guys, > it seems to me that since Adobe announced the

Re: [FlexJS] Browser compatibility

2017-08-12 Thread Harbs
I think it’s IE9 or later. > On Aug 12, 2017, at 9:10 PM, Olaf Krueger wrote: > > Hi, > I'd like to write some docs about the browser compatibility of FlexJS and > wonder how this technically works. > Is there some magic implemented within the compiler or is an external lib > used or is there wh

[FlexJS] Browser compatibility

2017-08-12 Thread Olaf Krueger
Hi, I'd like to write some docs about the browser compatibility of FlexJS and wonder how this technically works. Is there some magic implemented within the compiler or is an external lib used or is there whatever mechanism to ensure that the transpiled code works fine with most of the browsers? Ho

Re: Package, Class and Method renaming

2017-08-12 Thread Harbs
Thanks for working on this! I’m going camping with my family this week, so I’m not sure I’m going to be able to test this until the end of the week or next week. Thanks, Harbs > On Aug 12, 2017, at 7:13 AM, Alex Harui wrote: > > I'm not sure I understand your proposal, but FWIW, I believe I h

Re: [FlexJS][Docs] Started with some docs using a github repo

2017-08-12 Thread Harbs
I meant the “copied JS”, but yes. > On Aug 11, 2017, at 11:23 PM, Olaf Krueger wrote: > > Forget about this: > >> The advantage of MXML is that we can declare both JS code and the CSS in > the same file. > > I think you mean AS instead of JS?! > > Thanks, > Olaf > > > > -- > View this mess

Re: [1/2] git commit: [flex-falcon] [refs/heads/develop] - upgrade to Google Closure Compiler 20170626. They deprecated a lot of APIs so lots of changes were required. The primary change is that GCC i

2017-08-12 Thread Alex Harui
If it works you can change it. On 8/12/17, 7:58 AM, "piotrz" wrote: >Another question is we have also google closure library where ant always >download it from master - I see that Maven is taking specific version - >should I switch to the newest one for that also ? > > > org.clojure >

Re: [1/2] git commit: [flex-falcon] [refs/heads/develop] - upgrade to Google Closure Compiler 20170626. They deprecated a lot of APIs so lots of changes were required. The primary change is that GCC i

2017-08-12 Thread Alex Harui
I didn't see binaries for the newer source releae. On 8/12/17, 7:54 AM, "Piotr Zarzycki" wrote: >Hi Alex, > >I' wondering why you have switched to version "v20170626" instead of >newest "v20170806" ? > >Thanks, >Piotr > >2017-08-12 5:55 GMT+02:00 : > >> Repository: flex-falcon >> Updated Branche

Re: [1/2] git commit: [flex-falcon] [refs/heads/develop] - upgrade to Google Closure Compiler 20170626. They deprecated a lot of APIs so lots of changes were required. The primary change is that GCC i

2017-08-12 Thread piotrz
Another question is we have also google closure library where ant always download it from master - I see that Maven is taking specific version - should I switch to the newest one for that also ? org.clojure google-closure-library 0.0-20150902-b129bb9e Thanks, Piotr

Re: [1/2] git commit: [flex-falcon] [refs/heads/develop] - upgrade to Google Closure Compiler 20170626. They deprecated a lot of APIs so lots of changes were required. The primary change is that GCC i

2017-08-12 Thread Piotr Zarzycki
Hi Alex, I'm wondering why you have switched to version "v20170626" instead of newest "v20170806" ? Thanks, Piotr 2017-08-12 5:55 GMT+02:00 : > Repository: flex-falcon > Updated Branches: > refs/heads/develop 8d7e14740 -> 207a95872 > > > upgrade to Google Closure Compiler 20170626. They depr