breakpoint 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,7 @@ We love contributors! Yes we do! If you would like to contribute to Breakpoint,
31
31
  Breakpoint is designed to be a Media Query engine to power everything from design tweaks to media query contexts to full media query fallbacks. But we also know that our users will build awesome thing with these tools. Build a Breakpoint powered mixin for new media query semantics? We want to hear about it! Build something cool with Context? Let us know! If you would like to add your Awesome Thing to the list, please issue a Pull Request to add it!
32
32
 
33
33
  * [Singularity](https://github.com/Team-Sass/Singularity) - Semantic Grid System
34
+ * [Breakpoint Slicer](https://github.com/lolmaus/breakpoint-slicer) - Quick and efficient syntax for Min/Max Width media queries
34
35
 
35
36
  ## License
36
37
 
@@ -3,8 +3,8 @@ require 'compass'
3
3
  Compass::Frameworks.register("breakpoint", :path => "#{File.dirname(__FILE__)}/..")
4
4
 
5
5
  module Breakpoint
6
- VERSION = "2.0.2"
7
- DATE = "2012-04-08"
6
+ VERSION = "2.0.3"
7
+ DATE = "2012-04-25"
8
8
  end
9
9
 
10
10
  module Sass::Script::Functions
@@ -125,8 +125,18 @@ $breakpoint-legacy-syntax: false !default;
125
125
  }
126
126
  }
127
127
 
128
+ // Write Fallback
128
129
  @if ($query-fallback != false) and ($print == true) {
129
- #{$query-fallback} & {
130
+ $type-fallback: type-of($query-fallback);
131
+ @debug $query-fallback;
132
+ @debug $type-fallback;
133
+
134
+ @if ($type-fallback != 'bool') {
135
+ #{$query-fallback} & {
136
+ @content;
137
+ }
138
+ }
139
+ @else {
130
140
  @content;
131
141
  }
132
142
  }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 0
8
- - 2
9
- version: 2.0.2
8
+ - 3
9
+ version: 2.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mason Wendell
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-08 00:00:00 -04:00
18
+ date: 2012-04-25 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency