From e6c28d81f7aed66cd136cd2fd20f5dea0996e658 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Mon, 15 Nov 2010 16:28:53 -0600 Subject: [PATCH] renamed default variable in has-layout mixin to more appropriate name $approach --- .../stylesheets/compass/utilities/general/_hacks.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss b/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss index 748666ca..26b4321b 100644 --- a/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +++ b/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss @@ -8,14 +8,14 @@ $default-has-layout-approach: zoom !default; // This mixin causes an element matching the selector // to gain the "hasLayout" property in internet explorer. // More information on [hasLayout](http://reference.sitepoint.com/css/haslayout). -@mixin has-layout($using: $default-has-layout-approach) { +@mixin has-layout($approach: $default-has-layout-approach) { @if $legacy-support-for-ie { @if $using == zoom { @include has-layout-zoom; - } @else if $using == block { + } @else if $approach == block { @include has-layout-block; } @else { - @warn "Unknown has-layout approach: #{$using}"; + @warn "Unknown has-layout approach: #{$approach}"; @include has-layout-zoom; } }