bourbon-compass 3.1.4 → 3.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,12 +62,12 @@
62
62
  $gradient-args: false;
63
63
  $gradient-positions: false;
64
64
  $shorthand-start: false;
65
- @if type-of($first-member) == list { // Linear gradient plus additional shorthand values lg(red,orange)repeat,...
65
+ @if type-of($first-member) == list { // Linear gradient plus additional shorthand values - lg(red,orange)repeat,...
66
66
  $gradient-positions: nth($first-member, 2);
67
67
  $gradient-args: nth($first-member, 3);
68
68
  $shorthand-start: 2;
69
69
  }
70
- @else { // Linear gradient only lg(red,orange),...
70
+ @else { // Linear gradient only - lg(red,orange),...
71
71
  $gradient-positions: nth($shorthand, 2);
72
72
  $gradient-args: nth($shorthand, 3); // Get gradient (red, blue)
73
73
  }
@@ -35,9 +35,6 @@
35
35
  @else if ("#{$side} #{$corner}" == "left bottom") or ("#{$side} #{$corner}" == "bottom left") {
36
36
  $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
37
37
  }
38
- @else {
39
- @warn "Incorrect gradient syntax";
40
- }
41
38
  $spec: to $side $corner;
42
39
  }
43
40
  @else if $length == 1 {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourbon-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-21 00:00:00.000000000 Z
12
+ date: 2013-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass