FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

extending options from a prototype · Issue #62 · nodejs/node · GitHub

/ node Public

extending options from a prototype #62

Description

i currently have an issue when creating http.client() requests from an options object that is created from a constructor: petkaantonov/urlparser#5

https://github.com/iojs/io.js/blob/v0.12/lib/_http_client.js#L50

my solution would be options = Object.create(options || {}) or something, but i'm pretty sure someone's going to complain about performance or something...

what do you guys think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL