Skip to content

Commit

Permalink
path: replace duplicate conditions by functions
Browse files Browse the repository at this point in the history
It will also remove useless "code" variables by inlining
path.charCodeAt.

PR-URL: #18693
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
daynin authored and MylesBorins committed Feb 21, 2018
1 parent f54659c commit 80c6142
Showing 1 changed file with 76 additions and 111 deletions.
Loading

0 comments on commit 80c6142

Please sign in to comment.