SassyJSON 1.1.3 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40c65bd954a8a3c975de6027f08c0fd1def237e6
4
- data.tar.gz: 30d996746b7518f3e123d8d06c76285fa82cb93c
3
+ metadata.gz: f9776b826943f18f34f4365b0dd5d696bccd7da9
4
+ data.tar.gz: 1506c1a8cd04e7a39cd485e1db685759d3ada108
5
5
  SHA512:
6
- metadata.gz: 4beb41af8340b62ad6b518d274d0314fde903086001d1dd2f8d43971a41956dbe59feedd529cc98338ff06f5a090728799728fadd9e53f08706ea9f420c4a200
7
- data.tar.gz: b1a2c1c6461652e54e9dd1131a068ca6e1c4222378062c679b473a72771b3e05dcb98607ab06eacfcd8bfa8930beee87ba5d7b9bcfee0d7e15a4774111784f25
6
+ metadata.gz: 3872ac30fac570cbbc13ac340a46903712af80be2725820f56522ca94b762b71b8b1f55a1e95aa1189c0700058646b888953f426188d4e33b98edc2d5857dc4d
7
+ data.tar.gz: ca9061e0f7819eca8aede6248f9dca55a7ed41cd79c456ee4ef75d1ab3d2065fcd62032c316ec9fa2e653cc1979a266a6950242d905888e84ca534d789e49552
@@ -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
@@ -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.3"
11
- DATE = "2014-02-12"
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
- display: none !important;
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.3
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-02-12 00:00:00.000000000 Z
12
+ date: 2014-03-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Sass API for JSON
15
15
  email: