Skip to content

Conversation

refack
Copy link
Contributor

@refack refack commented Oct 24, 2017

lib/url.js and lib/events.js are using the same spliceOne function.
This change is to move it into the internal/util for avoiding duplicate
code.

PR-URL: #16221
Reviewed-By: Timothy Gu [email protected]
Reviewed-By: Ruben Bridgewater [email protected]
Reviewed-By: Vse Mozhet Byt [email protected]
Reviewed-By: James M Snell [email protected]
Reviewed-By: Luigi Pinca [email protected]
Reviewed-By: Anatoli Papirovski [email protected]
Reviewed-By: Refael Ackermann [email protected]

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

util,url,events

lib/url.js and lib/events.js are using the same spliceOne function.
This change is to move it into the internal/util for avoiding duplicate
code.

PR-URL: nodejs#16221
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
@refack
Copy link
Contributor Author

refack commented Oct 24, 2017

Was already created in #16433

@refack refack closed this Oct 24, 2017
@refack refack deleted the backport-16221-to-v8.x branch October 24, 2017 13:27
@nodejs-github-bot nodejs-github-bot added events Issues and PRs related to the events subsystem / EventEmitter. url Issues and PRs related to the legacy built-in url module. util Issues and PRs related to the built-in util module. v8.x labels Oct 24, 2017
@refack refack restored the backport-16221-to-v8.x branch October 24, 2017 13:34
@refack refack deleted the backport-16221-to-v8.x branch October 24, 2017 13:34
@refack refack restored the backport-16221-to-v8.x branch October 24, 2017 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

events Issues and PRs related to the events subsystem / EventEmitter. url Issues and PRs related to the legacy built-in url module. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants