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

[v8.x backport] lib: move duplicate spliceOne into internal/util by refack · Pull Request #16441 · nodejs/node · GitHub

/ node Public

[v8.x backport] lib: move duplicate spliceOne into internal/util - #16441

Closed
refack wants to merge 1 commit into
nodejs:v8.x-stagingfrom
refack:backport-16221-to-v8.x
Closed

[v8.x backport] lib: move duplicate spliceOne into internal/util#16441
refack wants to merge 1 commit into
nodejs:v8.x-stagingfrom
refack:backport-16221-to-v8.x

Conversation

refack commented Oct 24, 2017

Copy link
Copy Markdown
Contributor

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 timothygu99@gmail.com
Reviewed-By: Ruben Bridgewater ruben@bridgewater.de
Reviewed-By: Vse Mozhet Byt vsemozhetbyt@gmail.com
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Luigi Pinca luigipinca@gmail.com
Reviewed-By: Anatoli Papirovski apapirovski@mac.com
Reviewed-By: Refael Ackermann refack@gmail.com

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 <timothygu99@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>

refack commented Oct 24, 2017

Copy link
Copy Markdown
Contributor Author

Was already created in #16433

refack closed this Oct 24, 2017
refack deleted the backport-16221-to-v8.x branch October 24, 2017 13:27
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 restored the backport-16221-to-v8.x branch October 24, 2017 13:34
refack deleted the backport-16221-to-v8.x branch October 24, 2017 13:34
refack restored the backport-16221-to-v8.x branch October 24, 2017 13:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL