sassy-namespaces 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sassy-namespaces.rb +2 -2
- data/stylesheets/_sassy-namespaces.scss +7 -3
- 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: 06038572e7783786290f97184fac2816a8d2b047
|
4
|
+
data.tar.gz: bcbc5187ca4ec63055642874fe59ea1c09de2c8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df1439ad8cb79fe6e93aeab12cb9a21b825cf1256e9988ef158beefb18d8c0ce018187722707c9c8491b7445241f6cce2c62b27489cac72e5144845bdea47ab7
|
7
|
+
data.tar.gz: 8e2dbd0cd2a46b4337470e449c9fe07f235b0ee8376645b247ea3663151920fe2b32014347cea7c95806e4244efea4b876adabad4e8e55bddc33bbd3107f7e97
|
data/lib/sassy-namespaces.rb
CHANGED
@@ -5,6 +5,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
|
5
5
|
Compass::Frameworks.register('sassy-namespaces', :path => extension_path)
|
6
6
|
|
7
7
|
module SassyNamespaces
|
8
|
-
VERSION = "0.1.
|
9
|
-
DATE = "2014-03-
|
8
|
+
VERSION = "0.1.6"
|
9
|
+
DATE = "2014-03-20"
|
10
10
|
end
|
@@ -41,7 +41,10 @@ $__sassy-namespaces: ();
|
|
41
41
|
@return null;
|
42
42
|
}
|
43
43
|
|
44
|
-
@if $length
|
44
|
+
@if $length == 1 {
|
45
|
+
@return $namespace;
|
46
|
+
}
|
47
|
+
@else if $length == 2 {
|
45
48
|
$keys: nth($args, 1);
|
46
49
|
|
47
50
|
@if length($keys) == 1 {
|
@@ -49,8 +52,9 @@ $__sassy-namespaces: ();
|
|
49
52
|
} @else {
|
50
53
|
@return map-get-deep($namespace, $args...);
|
51
54
|
}
|
52
|
-
}
|
53
|
-
|
55
|
+
}
|
56
|
+
@else {
|
57
|
+
@return null;
|
54
58
|
}
|
55
59
|
}
|
56
60
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sassy-namespaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|