SassyExport 1.3.1 → 1.3.2
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/SassyExport.rb +1 -1
- data/stylesheets/SassyExport.scss +9 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87ea1c3c8713266858513866d0a792088031865c
|
4
|
+
data.tar.gz: 587439cd8bf59d4d7cdd76db8e420b6a3cf28b57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 809e3e6944d4f209217fa2688e366b9f38901c8cdc0c8f5739452e7d37c32da46dce9deb7435116ed9f80f5f1b5c79f35840398719d4acd1776cdead23ca6e19
|
7
|
+
data.tar.gz: 441e95501327dd5570ca4d0e68feadb9753bbdd8568e055e50325ebf2c489629dfe2d55921b5cabde488dd8ee1fdd487f5e6d4d523e3d2e554e6fafa9895c47a
|
data/lib/SassyExport.rb
CHANGED
@@ -7,7 +7,7 @@ Compass::Frameworks.register('SassyExport', :path => extension_path)
|
|
7
7
|
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
8
8
|
# Date is in the form of YYYY-MM-DD
|
9
9
|
module SassyExport
|
10
|
-
VERSION = "1.3.
|
10
|
+
VERSION = "1.3.2"
|
11
11
|
DATE = "2014-07-24"
|
12
12
|
end
|
13
13
|
|
@@ -1,12 +1,18 @@
|
|
1
|
-
// SassyExport : convert passed map to json and write to path
|
1
|
+
// SassyExport : convert passed map to json and write to <path>/<filename>.<ext>
|
2
2
|
// ----------------------------------------------------------------------------------------------------
|
3
3
|
// @param $path [string] : directory path and filename, valid extensions: [json | js]
|
4
4
|
// @param $map [map] : map to convert to json
|
5
5
|
// @param $pretty [bool] : pretty print json
|
6
6
|
// @param $debug [bool] : print debug string with path
|
7
7
|
// ----------------------------------------------------------------------------------------------------
|
8
|
-
// @return $string | write
|
8
|
+
// @return $string | write to path
|
9
9
|
|
10
10
|
@mixin SassyExport($path, $map, $pretty: false, $debug: false) {
|
11
|
-
@at-root {
|
11
|
+
@at-root {
|
12
|
+
@if $debug {
|
13
|
+
/* #{SassyExport($path, $map, $pretty, $debug)} */
|
14
|
+
} @else {
|
15
|
+
%SassExport { /* #{SassyExport($path, $map, $pretty, $debug)} */ }
|
16
|
+
}
|
17
|
+
}
|
12
18
|
}
|