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

lib: remove unnecessary bind #28131

Closed

Commits on Dec 13, 2019

  1. http: remove unnecessary bind

    process.nextTick accepts additional parameters which
    are passed through to the callback. Use that instead
    of binding the function to a context.
    apapirovski committed Dec 13, 2019
    Copy the full SHA
    62b955d View commit details
    Browse the repository at this point in the history
  2. perf_hooks: remove unnecessary bind

    Pass through parameters using setImmediate rather
    than using Function.prototype.bind to bind the
    provided context.
    apapirovski committed Dec 13, 2019
    Copy the full SHA
    96067ca View commit details
    Browse the repository at this point in the history
  3. fs: remove unnecessary bind

    Don't use Function.prototype.bind where it isn't
    necessary. Rely on event emitter context instead
    and on arrow function as class property.
    apapirovski committed Dec 13, 2019
    Copy the full SHA
    396e428 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a560c73 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    d077f00 View commit details
    Browse the repository at this point in the history