Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Fix_ readonly accessors.tar.gz | 2018-08-28 | 90.3 kB | |
Fix_ readonly accessors.zip | 2018-08-28 | 101.8 kB | |
README.md | 2018-08-28 | 374 Bytes | |
Totals: 3 Items | 192.5 kB | 0 |
The es5 version declares "use strict" and causes the browser to throw error when writing to read-only properties. Now added functionality to test whether the property has a descriptor with a writable === true
before attempting to update the property.
The main use-case is working with SVG elements, though it might occur in any bound object.
See [#61] for reference.