missing the array first element xs (#8010)

This commit is contained in:
Kiho · Cham 2017-10-25 00:58:10 -05:00 committed by Wei Zhu
parent 36227a10db
commit 9ecce8d90f

View File

@ -29,7 +29,7 @@ const sizeBreakPoints = ['xs', 'sm', 'md', 'lg', 'xl'];
const groups = { const groups = {
isDynamic: val => /^on[A-Z]/.test(val), isDynamic: val => /^on[A-Z]/.test(val),
isSize: val => sizeBreakPoints.indexOf(val) > 0, isSize: val => sizeBreakPoints.indexOf(val) > -1,
}; };
function asciiSort(prev, next) { function asciiSort(prev, next) {