Age | Commit message (Collapse) | Author |
|
|
|
|
|
This is some nonsense. Should be better integrated later on so as
to support general implicit property descriptor inheritance, but
this allows for Thing itself to describe properties that every
Thing instance should have, at least.
|
|
This commit really does two separate things:
* Move the definition for `propertyDescriptors` from that string
key into `Symbol.for('CacheableObject.propertyDescriptors')`
* Allow and support descriptors for key-based properties, by
iterating over Reflect.ownKeys() instead of Object.entries()
|
|
|
|
|
|
|
|
This fixes a test that was previously failing to start. Yay!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The main benefit of stringifying attributes like this is escaping,
which isn't needed here, since we know all the values that might
be going into it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|