Revert "workaround for #457 (#465)"

This reverts commit 08589ebf96.
This commit is contained in:
Oliver Gorwits
2018-12-28 16:50:22 +00:00
parent 7f8db7b00d
commit b0f17db700

View File

@@ -30,8 +30,6 @@ function portSort (a, b) {
// octal regex
ore = /^0/,
// convert all to strings and trim()
if (typeof a == 'null') { a = ''; }
if (typeof b == 'null') { b = ''; }
x = a.toString().replace(sre, '') || '',
y = b.toString().replace(sre, '') || '';