Skip to content

Commit

Permalink
missing the array first element xs (ant-design#8010)
Browse files Browse the repository at this point in the history
  • Loading branch information
monkindey authored and yesmeck committed Oct 25, 2017
1 parent 36227a1 commit 9ecce8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sort-api-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9ecce8d

Please sign in to comment.