@financial-times/o-grid
Advanced tools
Comparing version 5.2.11 to 5.2.12
@@ -124,9 +124,3 @@ "use strict"; | ||
var isLast = index === breakpoints.length - 1; | ||
var isFirst = index === 0; | ||
if (isFirst) { | ||
setupQuery("(max-width: ".concat(layoutWidth, ")"), layoutName); | ||
continue; | ||
} | ||
if (isLast) { | ||
@@ -133,0 +127,0 @@ setupQuery("(min-width: ".concat(layoutWidth, ")"), layoutName); |
@@ -108,7 +108,2 @@ const missingDataMessage = 'Could not find layout information. ' + | ||
const isLast = index === breakpoints.length - 1; | ||
const isFirst = index === 0; | ||
if (isFirst) { | ||
setupQuery(`(max-width: ${layoutWidth})`, layoutName); | ||
continue; | ||
} | ||
if (isLast) { | ||
@@ -115,0 +110,0 @@ setupQuery(`(min-width: ${layoutWidth})`, layoutName); |
@@ -114,9 +114,3 @@ var missingDataMessage = 'Could not find layout information. ' + 'You may need to include o-grid css. See the README (https://registry.origami.ft.com/components/o-grid/readme) ' + 'for more information.'; | ||
var isLast = index === breakpoints.length - 1; | ||
var isFirst = index === 0; | ||
if (isFirst) { | ||
setupQuery("(max-width: ".concat(layoutWidth, ")"), layoutName); | ||
continue; | ||
} | ||
if (isLast) { | ||
@@ -123,0 +117,0 @@ setupQuery("(min-width: ".concat(layoutWidth, ")"), layoutName); |
@@ -16,3 +16,3 @@ { | ||
"name": "@financial-times/o-grid", | ||
"version": "5.2.11", | ||
"version": "5.2.12", | ||
"dependencies": { | ||
@@ -19,0 +19,0 @@ "sass-mq": "^5.0.0" |
561593
925