Skip to content

Commit 4a6698a

Browse files
committed
patch unsupported multiline comments in susy lib
1 parent 3602db9 commit 4a6698a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Diff for: static/vendor/susy-1.0.5/sass/susy/_functions.scss

+3-6
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ $rem-with-px-fallback : true !default;
2121
$columns : $total-columns
2222
) {
2323
@if round($columns) != $columns {
24-
@warn "Susy works best with integer column-spans.
25-
For partial-columns, you may need to finesse the math by hand using functions directly.";
24+
@warn "Susy works best with integer column-spans. For partial-columns, you may need to finesse the math by hand using functions directly.";
2625
}
2726
@return ($columns * $column-width) + (if($columns >= 1, ceil($columns - 1), 0) * $gutter-width);
2827
}
@@ -270,12 +269,10 @@ $rem-with-px-fallback : true !default;
270269
$min: nth($media,2);
271270
}
272271
} @else {
273-
@warn "Can't compare incompatible units.
274-
Using #{$min} for min-width, and #{$max} for max-width";
272+
@warn "Can't compare incompatible units. Using #{$min} for min-width, and #{$max} for max-width";
275273
}
276274
@if (length($media) > 2) {
277-
@warn "You can only send two lengths: a min-width and an (optional) max-width.
278-
You sent #{length($media)}: #{$media}";
275+
@warn "You can only send two lengths: a min-width and an (optional) max-width. You sent #{length($media)}: #{$media}";
279276
}
280277
}
281278
}

Diff for: static/vendor/susy-1.0.5/sass/susy/_media.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@
105105
}
106106

107107
} @else {
108-
@warn "You need to provide either a valid layout (number of columns)
109-
or a valid media-query min-width breakpoint (length).";
108+
@warn "You need to provide either a valid layout (number of columns) or a valid media-query min-width breakpoint (length).";
110109
}
111110

112111
}

0 commit comments

Comments
 (0)