SassyLists 0.2.2 → 0.2.3

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.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Changelog
2
2
 
3
+ * `0.2.3`: fixing important issues with comments
3
4
  * `0.2.2`: moving all comments to invisible
4
5
  * `0.2.1`: fixing an issue with `random-value()`
5
6
  * `0.2.0`: adding `random-value()`
data/lib/SassyLists.rb CHANGED
@@ -5,7 +5,7 @@ Compass::Frameworks.register('SassyLists', :path => extension_path)
5
5
  # Version is a number. If a version contains alphas, it will be created as a prerelease version
6
6
  # Date is in the form of YYYY-MM-DD
7
7
  module SassyLists
8
- VERSION = "0.2.2"
8
+ VERSION = "0.2.3"
9
9
  DATE = "2013-10-29"
10
10
  end
11
11
 
@@ -43,12 +43,11 @@
43
43
  @return quote($result);
44
44
  }
45
45
 
46
- /**
47
46
  // Mixin displaying clean debug
48
47
  // -------------------------------------------------------------------------------
49
48
  // @param $list [List] : list
50
49
  // @param $type [List] : enable/disable variables type
51
- ///
50
+
52
51
  @mixin debug($list, $type: true) {
53
52
  body:before {
54
53
  content: debug($list, $type) !important;
@@ -12,7 +12,7 @@
12
12
 
13
13
  @function last-index($list, $value) {
14
14
 
15
- @for $i from length($list)// -1 through -1 {
15
+ @for $i from length($list) * -1 through -1 {
16
16
  $i: abs($i);
17
17
 
18
18
  @if nth($list, $i) == $value {
@@ -14,7 +14,7 @@
14
14
  @function reverse($list, $recursive: false) {
15
15
  $result: ();
16
16
 
17
- @for $i from length($list)// -1 through -1 {
17
+ @for $i from length($list) * -1 through -1 {
18
18
  $item: nth($list, abs($i));
19
19
 
20
20
  @if length($item) > 1 and $recursive {
@@ -33,7 +33,7 @@
33
33
  @else {
34
34
  $index: 0;
35
35
 
36
- @for $i from length($result)*-1 through -1 {
36
+ @for $i from length($result) * -1 through -1 {
37
37
  $i: abs($i);
38
38
 
39
39
  @if $item <= nth($result, $i) {
@@ -19,7 +19,7 @@
19
19
  @if type-of($item) == number {
20
20
 
21
21
  @if $force and unit($item) {
22
- $item: $item / ($item// 0 + 1);
22
+ $item: $item / ($item * 0 + 1);
23
23
  }
24
24
 
25
25
  @if unitless($item) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SassyLists
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: