SassyJSON 1.1.3 → 1.1.5
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/CHANGELOG.md +2 -0
- data/lib/SassyJSON.rb +2 -2
- data/stylesheets/encode/mixins/_json.scss +5 -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: f9776b826943f18f34f4365b0dd5d696bccd7da9
|
4
|
+
data.tar.gz: 1506c1a8cd04e7a39cd485e1db685759d3ada108
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3872ac30fac570cbbc13ac340a46903712af80be2725820f56522ca94b762b71b8b1f55a1e95aa1189c0700058646b888953f426188d4e33b98edc2d5857dc4d
|
7
|
+
data.tar.gz: ca9061e0f7819eca8aede6248f9dca55a7ed41cd79c456ee4ef75d1ab3d2065fcd62032c316ec9fa2e653cc1979a266a6950242d905888e84ca534d789e49552
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
* `1.1.5`: Fixed `json-encode` mixin to keep `body::before` in the render tree. Making it possible to access via `getComputedStyle(document.body, ':before')`
|
4
|
+
* `1.1.4`: Small fix for the `npm` release
|
3
5
|
* `1.1.3`: fixed error in `_pow` introduced after updating to Sass 3.3.0.rc.3
|
4
6
|
* `1.1.2`: Made it possible to import JSON files via `@import 'relative/path/to/file.json?variable-name'`
|
5
7
|
* `1.1.1`: fixing a minor issue with the gem
|
data/lib/SassyJSON.rb
CHANGED
@@ -7,6 +7,6 @@ Compass::Frameworks.register('SassyJSON', :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 SassyJSON
|
10
|
-
VERSION = "1.1.
|
11
|
-
DATE = "2014-
|
10
|
+
VERSION = "1.1.5"
|
11
|
+
DATE = "2014-03-03"
|
12
12
|
end
|
@@ -11,12 +11,14 @@
|
|
11
11
|
@if $flag == comment or $flag == all {
|
12
12
|
/*! json-encode: #{$json} */
|
13
13
|
}
|
14
|
-
|
15
14
|
// Regular property value pair
|
16
15
|
@if $flag == regular or $flag == all {
|
17
|
-
// All browsers except IE8-
|
16
|
+
// All browsers except IE8-
|
18
17
|
body::before {
|
19
|
-
|
18
|
+
// This element must be in the render tree to get it via getComputedStyle(document.body, ':before');
|
19
|
+
display:block;
|
20
|
+
width:0;height:0;
|
21
|
+
overflow:hidden;
|
20
22
|
content: json-encode($value);
|
21
23
|
}
|
22
24
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SassyJSON
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugo Giraudel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Sass API for JSON
|
15
15
|
email:
|