Re: [FlexJS] allow "-" in ids

2016-11-30 Thread Carlos Rovira
I think this is not critical, but seems a restriction for us since that is not found in HTML (don't know if in other tech/languages what happens)... If it's very complicated, maybe we could left go for the moment and revisit some time in the future as things are more settled 2016-11-30 17:27 GMT+0

Re: [FlexJS] allow "-" in ids

2016-11-30 Thread Alex Harui
On 11/30/16, 8:03 AM, "Josh Tynjala" wrote: >Remember that an MXML object with an id becomes a member property of the >class in Actionscript. Actionscript identifiers cannot contain the "-" >character. If this were allowed by the compiler, the only way to access >the >property from Actionscript

Re: [FlexJS] allow "-" in ids

2016-11-30 Thread Josh Tynjala
Remember that an MXML object with an id becomes a member property of the class in Actionscript. Actionscript identifiers cannot contain the "-" character. If this were allowed by the compiler, the only way to access the property from Actionscript would need to be with bracket syntax: this["complex

[FlexJS] allow "-" in ids

2016-11-30 Thread Carlos Rovira
Hi, I'm finding while recreating MDL example code that we don't like ids with "-" I think we could allow. At least I don't know of a reason we should not do it. -- Carlos Rovira http://about.me/carlosrovira