Fixed some incorrect logic around the deprecation warning for the +blueprint mixin and eliminated the deprecation warnings for the examples.

This commit is contained in:
Chris Eppstein 2009-07-11 12:27:04 -07:00
parent 24d4ff4146
commit dafbd88588
6 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,4 @@
@import blueprint.sass @import blueprint.sass
+blueprint-ie("body.bp") body.bp
+blueprint-ie(true)

View File

@ -1,3 +1,4 @@
@import blueprint.sass @import blueprint.sass
+blueprint-print("body.bp") body.bp
+blueprint-print(true)

View File

@ -1,4 +1,5 @@
@import blueprint.sass @import blueprint.sass
@import compass/reset.sass @import compass/reset.sass
+blueprint("body.bp") body.bp
+blueprint(true)

View File

@ -7,9 +7,8 @@
.container .container
+container +container
+blueprint-typography("body.blueprint")
body.blueprint body.blueprint
+blueprint-typography(true)
+blueprint-scaffolding-body +blueprint-scaffolding-body
hr hr
+colruler +colruler

View File

@ -3,9 +3,8 @@
@import blueprint/modules/scaffolding.sass @import blueprint/modules/scaffolding.sass
@import compass/reset.sass @import compass/reset.sass
+blueprint-typography("body.blueprint")
body.blueprint body.blueprint
+blueprint-typography(true)
+blueprint-scaffolding-body +blueprint-scaffolding-body
.container .container
+container +container

View File

@ -19,7 +19,7 @@
// You can pass the body selector as the first argument when used as a top-level mixin // You can pass the body selector as the first argument when used as a top-level mixin
// +blueprint("body#page-1, body#page-2, body.a-special-page-type") // +blueprint("body#page-1, body#page-2, body.a-special-page-type")
=blueprint(!body_selector = "body") =blueprint(!body_selector = "body")
@if !body_selector != "body" @if not (!body_selector == "body" or !body_selector == true)
@debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint, pass true as the first argument and mix it into #{!body_selector}." @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint, pass true as the first argument and mix it into #{!body_selector}."
+blueprint-typography(!body_selector) +blueprint-typography(!body_selector)
+blueprint-utilities +blueprint-utilities