Extract an imports partial.

This commit is contained in:
Chris Eppstein 2010-01-23 19:44:22 -08:00
parent 92327eece7
commit c05807ce31
3 changed files with 8 additions and 5 deletions

View File

@ -6,11 +6,7 @@
a single mixin, <code class="mixin">+blueprint</code>, that
can be used to generate the blueprint css styles.
%h2 Imports
%ol
- imports(@item).each do |import|
%li= import
= render "partials/reference/imports"
%h2 Mixins

View File

@ -0,0 +1,6 @@
- if (imported_libs = imports(@item)).any?
%h2 Imports
%ol
- imported_libs.each do |import|
%li= import

View File

@ -0,0 +1 @@
--- {}