Here's another whole bunch of polyfills for ES5:
http://www.calormen.com/polyfill/#polyfill
So the idea wouldn't be to integrate these polyfills, as much as target
ES5 directly without worrying too much about IE8 - except to keep in
mind the edge cases of the available polyfills. It should be possible (I
think) to make the compiler work in such a way, that it avoids hitting
those edge cases where things may not work in a polyfilled IE8.
The end user would be required to find an use a polyfill themselves if
some polyfill code isn't taken under the Apache umbrella.
Kevin N.
On 12/6/12 10:49 AM, Kevin Newman wrote:
Maybe it's worth looking at a polyfill for defineProperties in IE8:
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/defineProperties
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/keys
I'm not sure how complete that is though. Does it emulate get/set? or
would that require all AS3 classes are based off DOM elements (is that
even viable)?
Kevin N.