jacket 0.1.2 → 0.1.3

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.
@@ -4,7 +4,7 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
4
4
  Compass::Frameworks.register('jacket', :path => extension_path)
5
5
 
6
6
  module Jacket
7
- VERSION = "0.1.2"
7
+ VERSION = "0.1.3"
8
8
  DATE = "2013-05-20"
9
9
  end
10
10
 
data/readme.md CHANGED
@@ -110,7 +110,7 @@ Add a wrapping selector to a jacket context. Make sure to surround the selector
110
110
  .drizzle {
111
111
  // universal styles
112
112
  @include jacket(mackintosh) {
113
- // macintosh styles
113
+ // mackintosh styles
114
114
  }
115
115
  }
116
116
  ```
@@ -39,14 +39,16 @@ $jckt-context: null;
39
39
 
40
40
  // Test if a jacket context and jacket value match.
41
41
  @each $item in $jacket {
42
- @if index($args, nth($item, 1)) {
42
+ @each $arg in $args {
43
+ @if index($arg, nth($item, 1)) {
43
44
 
44
- // Gather wrapping selectors.
45
- @if length($item) == 1 {
46
- $naked: true;
47
- }
48
- @if length($item) == 2 {
49
- $selectors: append($selectors, nth($item, 2) + ' &');
45
+ // Gather wrapping selectors.
46
+ @if length($item) == 1 {
47
+ $naked: true;
48
+ }
49
+ @if length($item) == 2 {
50
+ $selectors: append($selectors, nth($item, 2) + ' &');
51
+ }
50
52
  }
51
53
  }
52
54
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jacket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: