> > Certainly, which is why I 'keep' the intermediate JS, which is not > optimised or minified at all. I think the JS output I create is very > readable and matches the original AS structure reasonably well. Not > line for line, to be sure, but close enough to be able to match it > back to the AS code. > > In case you missed it in the flood of emails I sent the last couple of > days: I've uploaded the output of my concept so everyone can view the > results without having to set up the whole project. Please look at: > > http://people.apache.org/~erikdebruin/vanillasdk/
Yea, I definitely checked out your examples. Still, the ideal situation would be a working source map between JS and AS. While it might not be essential immediately, I think eventually the type of bugs we run into on the JS side of things will dictate whether such granular mapping is necessary. And looking even further into the future, where some folks might not even debug in the flash player, but purely in the browser then this type of mapping is indeed required just because they'd need to debug their AS business logic. So, it that case it wouldn't even have to do with the correctness of the JS output, but simply the correctness of the logic. So, perhaps the discussion is premature.