[FlexJS] HelloWorld Diet and Exercise (was Re: [FlexJS] CSS Pruning)

2017-05-16 Thread Alex Harui
I pushed the pruning of some class selectors. There are a few more, but I'm not going to do them right now. Volunteers are welcome to do it though. Along with a few more tweaks, I got HelloWorld from 69K (my earlier report of 62K was incorrect) down to 59K. I'm going to stop there for this rele

Re: [FlexJS] CSS Pruning

2017-05-15 Thread Alex Harui
On 5/15/17, 8:46 AM, "Alex Harui" wrote: >Maybe class selectors we want to prune should start with the type name >surrounded by '$", so .$DataGrid$ListArea. Then the compiler could easily >check for two '$' and see if the class in-between is being kept in the >output or not. Hmm, looks like '

Re: [FlexJS] CSS Pruning

2017-05-15 Thread Alex Harui
On 5/15/17, 9:37 AM, "Peter Ent" wrote: >The reason for .DataGridListArea is that the SWF side does not recognize >a selector of: > >DataGrid Container { ... } Right, SimpleCSS doesn't handle complex selectors. > >So I gave the Container used for the list area a class name. Perhaps I >can try

Re: [FlexJS] CSS Pruning

2017-05-15 Thread Peter Ent
The reason for .DataGridListArea is that the SWF side does not recognize a selector of: DataGrid Container { ... } So I gave the Container used for the list area a class name. Perhaps I can try to change it to a type name and see if that's more helpful and if so look at replacing as many speci