respond-to 2.0.3 → 2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/stylesheets/_respond-to.scss +2 -4
  2. metadata +6 -7
@@ -6,16 +6,15 @@
6
6
  ////////////////////////
7
7
  // Default the Breakpoints variable
8
8
  ////////////////////////
9
- $breakpoints: false !default;
9
+ $breakpoints: () !default;
10
10
 
11
11
  ////////////////////////
12
12
  // Respond-to API Mixin
13
13
  ////////////////////////
14
14
  @mixin respond-to($context, $media: $breakpoint-default-media) {
15
- @if $breakpoints != false {
15
+ @if length($breakpoints) != 0 {
16
16
  @each $bkpt in $breakpoints {
17
17
  @if $context == nth($bkpt, 1) {
18
- @debug $bkpt;
19
18
  $length: length($bkpt);
20
19
  $mq: false !default;
21
20
 
@@ -29,7 +28,6 @@ $breakpoints: false !default;
29
28
  $mq: join($mq, nth($bkpt, $i));
30
29
  }
31
30
  }
32
- @debug $mq;
33
31
 
34
32
  @include breakpoint($mq, $media) {
35
33
  @content;
metadata CHANGED
@@ -4,9 +4,8 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 2
7
- - 0
8
- - 3
9
- version: 2.0.3
7
+ - 1
8
+ version: "2.1"
10
9
  platform: ruby
11
10
  authors:
12
11
  - Sam Richard
@@ -14,7 +13,7 @@ autorequire:
14
13
  bindir: bin
15
14
  cert_chain: []
16
15
 
17
- date: 2011-07-13 00:00:00 -04:00
16
+ date: 2011-07-31 00:00:00 -04:00
18
17
  default_executable:
19
18
  dependencies:
20
19
  - !ruby/object:Gem::Dependency
@@ -26,12 +25,12 @@ dependencies:
26
25
  - !ruby/object:Gem::Version
27
26
  segments:
28
27
  - 1
29
- - 0
30
28
  - 1
31
- version: 1.0.1
29
+ - 1
30
+ version: 1.1.1
32
31
  type: :runtime
33
32
  version_requirements: *id001
34
- description: Easy Media Query Handling
33
+ description: Semantic Media Query Handling
35
34
  email:
36
35
  - snugug@gmail.com
37
36
  executables: []