From 9ecce8d90ff35d374939498b6d81c0703325158f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kiho=20=C2=B7=20Cham?= Date: Wed, 25 Oct 2017 00:58:10 -0500 Subject: [PATCH] missing the array first element xs (#8010) --- scripts/sort-api-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sort-api-table.js b/scripts/sort-api-table.js index 20f0590053..de4615a728 100644 --- a/scripts/sort-api-table.js +++ b/scripts/sort-api-table.js @@ -29,7 +29,7 @@ const sizeBreakPoints = ['xs', 'sm', 'md', 'lg', 'xl']; const groups = { isDynamic: val => /^on[A-Z]/.test(val), - isSize: val => sizeBreakPoints.indexOf(val) > 0, + isSize: val => sizeBreakPoints.indexOf(val) > -1, }; function asciiSort(prev, next) {