diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-15 20:05:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-15 21:40:59 -0800 |
commit | 067cab4cdc5f4d2aa268adffb7d111c3a04e46f0 (patch) | |
tree | 1f30a079634abfc1d1e327ddde5af99afd5239a0 /js/lib/common.js | |
parent | aedb6ca8cffca7270700aaddcf82bf616030893c (diff) |
Provide getters and setters for public properties of Node.
Everything else gets a name starting with an underscore
and will be considered private.
This will allow us to keep the API stable while changing the
underlying data structure. And it will avoid exposing properties
that have only an instrumental value in parsing.
Diffstat (limited to 'js/lib/common.js')
0 files changed, 0 insertions, 0 deletions