ease.js - Tasks: task #13054, Pre-ES5 method patching
You are not allowed to post comments on this tracker with your current authentication level.
task #13054: Pre-ES5 method patching
Submitter: | Mike Gerwitz <mikegerwitz> | ||
Submitted: | Wed 22 Jan 2014 06:06:56 AM UTC | ||
Should Start On: | Wed 22 Jan 2014 05:00:00 AM UTC | Should be Finished on: | Sat 01 Mar 2014 05:00:00 AM UTC |
Category: | Core | Priority: | 5 - Normal |
Item Group: | Development | Status: | Cancelled |
Privacy: | Public | Assigned to: | mikegerwitz |
Percent Complete: | 0% | Open/Closed: | Open |
Planned Release: | None | ||
Keywords: | patching, fallback, pre-es5, traits, constants, private members |
Wed 20 Jul 2016 04:53:29 PM UTC, comment #3: |
Mike Gerwitz <mikegerwitz> |
Thu 23 Jan 2014 05:02:18 AM UTC, comment #2: [Additional Information] See recent comments in #12102; while this feature is desirable, it should not be immediately necessary for a fairly complete trait implementation. |
Mike Gerwitz <mikegerwitz> |
Wed 22 Jan 2014 06:15:42 PM UTC, comment #1: [Additional Information] To perform patching with any reasonable level of confidence, a basic lexer is needed to generate, at least partially, an AST/CST from the function body. I stress basic because this lexer will be used, at least for the time being, only in pre-ES5 environments, which will also happen to be the slowest (older) environments.
|
Mike Gerwitz <mikegerwitz> |
Wed 22 Jan 2014 06:06:56 AM UTC, original submission:
Up until this point, I had avoided the concept of patching methods at runtime (that is, new Function( func.toString().replace( ... ) )) because of issues it may introduce with, mainly, debugging. I'm not concerned with performance, as the patched function would remain in memory and would not need to be touched again.
|
Mike Gerwitz <mikegerwitz> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-07-20 | mikegerwitz | Status | None | Cancelled | |
2014-01-23 | mikegerwitz | Priority | 7 - High | 5 - Normal | |
Status | In Progress | None | |||
Planned Release | 0.2.0 | None | |||
2014-01-22 | mikegerwitz | Dependencies | Removed dependency from task #12102 | - | |
2014-01-22 | mikegerwitz | Dependencies | - | task #12102 is dependent | |
2014-01-22 | mikegerwitz | Status | None | In Progress | |
Planned Release | None | 0.2.0 |
Powered by Savane 3.13-02a9.
Corresponding source code
Will not do.
ES3 is largely no longer in use. While easejs will continue to support it, this type of development will not occur.