Skip to content

Commit

Permalink
Update respond-to documentation
Browse files Browse the repository at this point in the history
Resolves #131
  • Loading branch information
Snugug committed Feb 21, 2016
1 parent 0c9dd50 commit 840f8bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stylesheets/breakpoint/_respond-to.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $BREAKPOINTS: () !default;

@if type-of($BREAKPOINTS) != 'map' {
// Just in case someone writes gibberish to the $breakpoints variable.
@warn "Your breakpoints aren't a map! See https://github.com/snugug/respond-to#api if you'd like a reminder on how to use Respond-to";
@warn "Your breakpoints aren't a map! `respond-to` expects a map. Please check the value of $BREAKPOINTS variable.";
@content;
}
@else if map-has-key($BREAKPOINTS, $context) {
Expand All @@ -29,7 +29,7 @@ $BREAKPOINTS: () !default;
@content;
}
@else {
@warn "You haven't created any breakpoints yet! Make some already! See https://github.com/snugug/respond-to#api if you'd like a reminder on how to use Respond-to";
@warn "You haven't created any breakpoints yet! Make some already! `@include add-breakpoint($name, $bkpt)`";
@content;
}
}
Expand Down

0 comments on commit 840f8bf

Please sign in to comment.