Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit cc01d0c

Browse files
author
Jen Downs
committed
fix(examples): Update examples function code.
1 parent fd79fc6 commit cc01d0c

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed
Binary file not shown.

examples/bootstrap/css-gridish/scss/_functions.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
// Merge standard and custom breakpoints into list
2323
@function all-breakpoints($breakpoints, $extraBreakpoints, $first, $last) {
24-
$all-breakpoints: $breakpoints;
24+
$allBreakpoints: $breakpoints;
2525
@each $currentBreakpoint in $extraBreakpoints {
2626
$extraBreakpointName: nth($currentBreakpoint, 1);
2727
$extraBreakpointWidth: nth($currentBreakpoint, 2);
@@ -56,10 +56,10 @@
5656
$currentBreakpoint: (
5757
$extraBreakpointName: map-merge(nth($match, 2), (breakpoint: $extraBreakpointWidth))
5858
);
59-
$all-breakpoints: map-merge($all-breakpoints, $currentBreakpoint);
59+
$allBreakpoints: map-merge($allBreakpoints, $currentBreakpoint);
6060
}
6161

62-
@return maps-sort($all-breakpoints, breakpoint);
62+
@return maps-sort($allBreakpoints, breakpoint);
6363
}
6464

6565
@function column-string-width($string, $multiple) {
0 Bytes
Binary file not shown.

examples/carbon/css-gridish/scss/_functions.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
// Merge standard and custom breakpoints into list
2323
@function all-breakpoints($breakpoints, $extraBreakpoints, $first, $last) {
24-
$all-breakpoints: $breakpoints;
24+
$allBreakpoints: $breakpoints;
2525
@each $currentBreakpoint in $extraBreakpoints {
2626
$extraBreakpointName: nth($currentBreakpoint, 1);
2727
$extraBreakpointWidth: nth($currentBreakpoint, 2);
@@ -56,10 +56,10 @@
5656
$currentBreakpoint: (
5757
$extraBreakpointName: map-merge(nth($match, 2), (breakpoint: $extraBreakpointWidth))
5858
);
59-
$all-breakpoints: map-merge($all-breakpoints, $currentBreakpoint);
59+
$allBreakpoints: map-merge($allBreakpoints, $currentBreakpoint);
6060
}
6161

62-
@return maps-sort($all-breakpoints, breakpoint);
62+
@return maps-sort($allBreakpoints, breakpoint);
6363
}
6464

6565
@function column-string-width($string, $multiple) {
Binary file not shown.

examples/material/css-gridish/scss/_functions.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
// Merge standard and custom breakpoints into list
2323
@function all-breakpoints($breakpoints, $extraBreakpoints, $first, $last) {
24-
$all-breakpoints: $breakpoints;
24+
$allBreakpoints: $breakpoints;
2525
@each $currentBreakpoint in $extraBreakpoints {
2626
$extraBreakpointName: nth($currentBreakpoint, 1);
2727
$extraBreakpointWidth: nth($currentBreakpoint, 2);
@@ -56,10 +56,10 @@
5656
$currentBreakpoint: (
5757
$extraBreakpointName: map-merge(nth($match, 2), (breakpoint: $extraBreakpointWidth))
5858
);
59-
$all-breakpoints: map-merge($all-breakpoints, $currentBreakpoint);
59+
$allBreakpoints: map-merge($allBreakpoints, $currentBreakpoint);
6060
}
6161

62-
@return maps-sort($all-breakpoints, breakpoint);
62+
@return maps-sort($allBreakpoints, breakpoint);
6363
}
6464

6565
@function column-string-width($string, $multiple) {

0 commit comments

Comments
 (0)