Skip to content
This repository
Browse code

omega no longer accepts context argument

  • Loading branch information...
commit d3daf5adcf43a3b89758fab60714c5623a5310f2 1 parent c3ad89f
Eric M. Suzanne authored May 05, 2012
10  CHANGELOG.mkdn
Source Rendered
@@ -29,17 +29,19 @@ Changed API:
29 29
 Removed:
30 30
 
31 31
 * `alpha` is no longer needed.
  32
+* `+omega` no longer accepts the `$context` argument.
32 33
 * `full` can be replaced by a simple `clear: both;` when needed.
33 34
 * `side-gutter()` is no longer needed. Use `$grid-padding` instead.
34 35
 
35 36
 Upgrade:
36 37
 
37  
-1. Find and replace the 4 "Changed API's" listed above.
38  
-2. Remove any mention of `alpha` and `full` in your code. 
  38
+1. Find and replace the 4 simple "Changed API's" listed above.
  39
+2. Remove the `$context` argument from all `omega` mixins.
  40
+3. Remove any mention of `alpha` and `full` in your code. 
39 41
    * Replace `full` with `clear: both;` where necessary.
40  
-3. Remove any mention of `side-gutter()`.
  42
+4. Remove any mention of `side-gutter()`.
41 43
    * This may require some refactoring, depending on your uses.
42  
-4. [Optional] Any time 'columns' and 'omega' are declared in the same block, 
  44
+5. [Optional] Any time 'columns' and 'omega' are declared in the same block, 
43 45
    they can now be joined together. `@include columns(3); @include omega();` 
44 46
    can become `@include columns(3 omega)`.
45 47
 
4  sass/susy/_grid.scss
@@ -90,7 +90,7 @@
90 90
   width: columns($cols, $context);
91 91
 
92 92
   @if ($pos == 'omega') {
93  
-    @include omega($context,$from);
  93
+    @include omega($from);
94 94
   } @else {  
95 95
     float: $from;
96 96
     margin-#{$to}: gutter($context);      
@@ -104,10 +104,8 @@
104 104
 // Apply to elements spanning the last column, to account for the page edge.
105 105
 // Only needed as an override. Normally 'omega' can just be called by `columns`.
106 106
 //
107  
-// $context : The context in columns, when nested.
108 107
 // $from    : The start-direction for your document.
109 108
 @mixin omega(
110  
-  $context  : $total-columns,
111 109
   $from     : $from-direction
112 110
 ) {
113 111
   $to     : opposite-position($from);

0 notes on commit d3daf5a

Please sign in to comment.
Something went wrong with that request. Please try again.