breakpoint-slicer 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91c037b8bbc4d73de5bc400df75ac6727481033d
4
- data.tar.gz: 829d5b894d5f974d9013a6dd91c7398787ed694e
3
+ metadata.gz: b69be97dab8a2d5fbcb8eacd365d9c1018da3093
4
+ data.tar.gz: e91c6fd0aa09d5ba4a5a480a4d11d92485b6f72c
5
5
  SHA512:
6
- metadata.gz: bea96e824d4d06bc38afe92c04dcecd37228149f314aad8b87060b3f7cf9b209b64884c6525cd7fb91713ba9d6a609e2fdd8c65d6ce59e7c16d9a4c6cabb5c5f
7
- data.tar.gz: 472befd0fb33a9c3c333833749c65708225a76552420e6279f9a17fa4745b7c180d404f16db09a515f1e6657f6856b82ee4f909fb8218d5da3e44209d2a8e06b
6
+ metadata.gz: f5e3c85dbdab631aa0801f4a31a69c58c0d5049e414eb906d2feada726a6b284327258f15c39ed9cf4c29a7eac7b1b199794524559a256f5dad9327e377d4b43
7
+ data.tar.gz: 85eecdf471932a52101b5c32599fb01ef723471ab1cc210dfc11ede3b612989e06ea6be035ccf86aaf2e8fb58ed4c6635ab134f47459f5b148e9531751029504
@@ -4,6 +4,6 @@ require 'breakpoint'
4
4
  Compass::Frameworks.register("breakpoint-slicer", :path => "#{File.dirname(__FILE__)}/..")
5
5
 
6
6
  module BreakpointSlicer
7
- VERSION = "1.3.1"
7
+ VERSION = "1.3.2"
8
8
  DATE = "2014-06-14"
9
9
  end
@@ -33,6 +33,7 @@
33
33
  //
34
34
  // Returns the left breakpoint of an Nth slice, e. g. `600px`.
35
35
  @function left-bp-of-slice($slice)
36
+ $slice: get-slice-id($slice)
36
37
  $min: 1
37
38
  $max: total-slices()
38
39
 
@@ -63,6 +64,7 @@
63
64
  //
64
65
  // Returns the right breakpoint of an Nth slice, e. g. `800px`.
65
66
  @function right-bp-of-slice($slice)
67
+ $slice: get-slice-id($slice)
66
68
  $min: 1
67
69
  $max: total-slices() - 1
68
70
 
@@ -81,6 +83,7 @@
81
83
  //
82
84
  // A shortcut for nth($slicer-breakpoints, $slice)
83
85
  @function bp($slice)
86
+ $slice: get-slice-id($slice)
84
87
  @return nth($slicer-breakpoints, $slice)
85
88
 
86
89
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breakpoint-slicer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey 'lolmaus' Mikhaylov