Re: [FlexJS] Browser compatibility

2017-08-14 Thread Olaf Krueger
I've got it, thanks!

Olaf



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63866.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Browser compatibility

2017-08-14 Thread Harbs
Very often there’s more than one way to achieve a goal. When given a choice 
between approaches, I’d pick the one which has the best browser compatibility.

Given no other choice, I’d fall back to browser sniffing.

> On Aug 14, 2017, at 9:25 AM, Olaf Krueger  wrote:
> 
>> I found one work-around for one scenario and I’m investigating another for a
> different one. 
> What do you mean with work-around?
> Is it the approach to find some code that works with all browsers or do
> you're using browser sniffing (Class BrowserInfo as you mentioned above)?
> 
> Thanks,
> Olaf
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63861.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Re: [FlexJS] Browser compatibility

2017-08-14 Thread vincent
Bonjour,

En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à 
mon retour.

Cordialement,

Vincent/AFTER24





Re: [FlexJS] Browser compatibility

2017-08-14 Thread Olaf Krueger
>I found one work-around for one scenario and I’m investigating another for a
different one. 
What do you mean with work-around?
Is it the approach to find some code that works with all browsers or do
you're using browser sniffing (Class BrowserInfo as you mentioned above)?

Thanks,
Olaf





--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63861.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Browser compatibility

2017-08-13 Thread Harbs
You might have misunderstood me.

Thee are quite a few inconsistencies worked around already.

The advantage of the framework code is that we can include workarounds so end 
developers don’t need to.

For example:

Today I ran into flexbox inconsistencies in layouts. Safari behaves different 
than everyone else for nested flexboxes.

I found one work-around for one scenario and I’m investigating another for a 
different one.

Once I have the workarounds worked out, I will be able to fix the FlexJS 
layouts so it will work consistently across browsers.

Basically, we can treat cross-browser inconsistencies as bugs to be fixed on 
the framework level.

Harbs

> On Aug 13, 2017, at 10:36 PM, Olaf Krueger  wrote:
> 
>> There’s nothing really built in
> 
> Mhh... but I wonder if FlexJS can not guarantee consistency through
> different browsers and different platforms, could we really speak about a
> cross platform framework then?
> Or do I miss something?
> 
> Thanks,
> Olaf
> 
> 
> 
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63851.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Browser compatibility

2017-08-13 Thread Olaf Krueger
>There’s nothing really built in

Mhh... but I wonder if FlexJS can not guarantee consistency through
different browsers and different platforms, could we really speak about a
cross platform framework then?
Or do I miss something?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63851.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 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.nabble.com/FlexJS-Browser-compatibility-tp63828p63832.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



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.nabble.com/FlexJS-Browser-compatibility-tp63828p63832.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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.247.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63831.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 whatever mechanism to ensure that the transpiled code works
> fine with most of the browsers?
> 
> How we take care of being compatible with future browser versions.
> 
> Is an overview of supported browsers/versions available?
> 
> Thanks,
> Olaf
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/FlexJS-Browser-compatibility-tp63828.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.