mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00:02 -04:00
feat: charset parsing & misc fixes
This commit is contained in:
parent
d821554f57
commit
34bd4e5752
4 changed files with 73 additions and 95 deletions
|
@ -2,26 +2,4 @@ export function getOwnPropertyDescriptorHandler(target, prop) {
|
|||
const realDescriptor = Reflect.getOwnPropertyDescriptor(target, prop);
|
||||
|
||||
return realDescriptor;
|
||||
// const d: PropertyDescriptor = {};
|
||||
|
||||
// if (realDescriptor.enumerable !== undefined)
|
||||
// d.enumerable = realDescriptor.enumerable;
|
||||
// if (realDescriptor.configurable !== undefined)
|
||||
// d.configurable = realDescriptor.configurable;
|
||||
// if (realDescriptor.writable !== undefined)
|
||||
// d.writable = realDescriptor.writable;
|
||||
|
||||
// if (realDescriptor.get) {
|
||||
// d.get = () => this.get(target, prop);
|
||||
// }
|
||||
|
||||
// if (realDescriptor.set) {
|
||||
// d.set = (value) => this.set(target, prop, value);
|
||||
// }
|
||||
|
||||
// if (realDescriptor.value) {
|
||||
// d.value = this.get(target, prop);
|
||||
// }
|
||||
|
||||
// return d;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue