There are a few reasons why I want to do this:
- Cleaner code - makes maintenance easier due to smaller code base
- Consolidation of desktop and handheld code*
Is this difficult?
If only there was an automated tool ... anyone??? please ???
Ok, while I'm waiting for someone to answer my plea, I'll talk you through my process as it stands.
- Identify all the selectors used (predomination class and ID)
As I say the code is actually very well written and has historically been maintained well - so I probably haven't got a lot of dead code to find. This is likely to make it more difficult - the needle in the haystack principal.
As yet, I've spent no time thinking about the CSS - but I'd expect to go down a similar road.
Work through the process (at least for the Javscript) and see what I get.