Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entries #9

Open
bengreenier opened this issue Nov 12, 2013 · 0 comments
Open

entries #9

bengreenier opened this issue Nov 12, 2013 · 0 comments
Labels
Milestone

Comments

@bengreenier
Copy link
Collaborator

as we enter values into keys in the res object, here's what we do:

if the value has no key (we could call node app.js value value2) the entries go in _root: at the root level of res.

if the key property of res is already set to...

  • an array, we simply push the new value to that array
  • an object, we create _root: as per issue 8
  • anything else, we make the key an array, and store both values in it (old value first)
bengreenier pushed a commit that referenced this issue Nov 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant