layout-tools-for-susy 0.1.6 → 0.1.7
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.
- checksums.yaml +4 -4
- data/lib/layout-tools-for-susy.rb +2 -2
- data/stylesheets/functions/_list-implode.scss +7 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a06f492038c161c9160dd02d377f3f57c1821d8
|
4
|
+
data.tar.gz: 96e79b7ee7ab98a9640aad024d18f0d30c166bcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e8d596e65e91d97e1035fa91da0f9f6c3213fd37da00b0391f59a1a57d056e50d94733f52ccc905214b1a55418014c1e243e37cb3ec8ad8e2a928aa6cf1a8e
|
7
|
+
data.tar.gz: 7ce8f63259e0184558376f347d38d1f17a5458f1c844928f8a4cae444e49648d94087e832f4f5c437b2d6a0d129d30377bdc4a0f9aee934668243bccac43dc42
|
@@ -5,14 +5,14 @@
|
|
5
5
|
* @param {Boolean} $recursive: false Optionally implode items of type list.
|
6
6
|
* @return {String} Imploded list as string.
|
7
7
|
*/
|
8
|
-
@function list-implode($list, $separator: '') {
|
9
|
-
$result:
|
8
|
+
@function list-implode($list, $separator: '', $recursive: false) {
|
9
|
+
$result: "";
|
10
10
|
@for $i from 1 through length($list) {
|
11
11
|
$e: nth($list, $i);
|
12
|
-
@if (type-of($e) == list) {
|
13
|
-
$e: list-implode($e, $separator);
|
12
|
+
@if (type-of($e) == list and $recursive) {
|
13
|
+
$e: list-implode($e, $separator, $recursive);
|
14
14
|
}
|
15
|
-
$result: if($i != length($list), $result#{$e}#{$separator}, $result#{$e});
|
15
|
+
$result: if($i != length($list), $result + "#{$e}#{$separator}", $result + "#{$e}");
|
16
16
|
}
|
17
|
-
@return $result;
|
18
|
-
}
|
17
|
+
@return unquote('') + $result;
|
18
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: layout-tools-for-susy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Wehn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|