PDA

View Full Version : yui-ext docgenerator and deprecated properties/functions



Animal
16 Nov 2006, 12:27 AM
Jack, can the yui-ext documentation generator somehow help us remove deprecated usages from our js code?

I see you have introduced an @deprecated tag, so I want to remove those usages from my code so that those features can be retired and removed to help keep the yui-ext codebase as clean as possible, making it easier and faster to maintain/enhance.

What is needed is for something as simple as the doc generator outputting a file containing strings to search for. This would just contain the name of the deprecated property or function. We could then use this to feed to grep/whatever.

With no compiler to point these usages out to us, people could go on using deprecated things for ever, and you might never get top remove them!

jack.slocum
16 Nov 2006, 3:25 AM
That's a good idea. I don't think it will be in this version, but it could definitely be in a future version.