[Blueprint] Fix a regression in the scaffolding.

This commit is contained in:
Chris Eppstein 2010-06-01 08:55:36 -07:00
parent 3367f18d78
commit cfb5bd3a24

View File

@ -15,13 +15,12 @@
// +blueprint-scaffolding("body#page-1, body#page-2, body.a-special-page-type") // +blueprint-scaffolding("body#page-1, body#page-2, body.a-special-page-type")
// Alternatively, you can use the +blueprint-scaffolding-body and +blueprint-scaffolding-defaults // Alternatively, you can use the +blueprint-scaffolding-body and +blueprint-scaffolding-defaults
// mixins to construct your own semantic style rules. // mixins to construct your own semantic style rules.
// @deprecated It is no longer necessary to pass any argument.
@mixin blueprint-scaffolding($nested: false) { @mixin blueprint-scaffolding($nested: deprecated) {
@if $nested { @if $nested != deprecated {
@include blueprint-scaffolding-defaults; @warn "It is no longer necessary to pass any argument to the blueprint-scaffolding mixin."
} @else {
body { @include blueprint-scaffolding-defaults; }
} }
@include blueprint-scaffolding-defaults;
} }
// The styles this mixin provides were deprecated in Blueprint 0.9 and is no // The styles this mixin provides were deprecated in Blueprint 0.9 and is no