compass/doc-src/layouts/partials/reference/imports.haml

13 lines
399 B
Plaintext
Raw Normal View History

2010-01-24 03:44:22 +00:00
- if (imported_libs = imports(@item)).any?
2010-12-09 05:02:20 +00:00
- if imported_libs.size == 1000
%p
Automatically imports:
- imported_libs.each do |import|
= render "partials/reference/import-few", :import => import, :last => import == imported_libs.last
- else
%h2 Imports
%ol
- imported_libs.each do |import|
%li= render "partials/reference/import", :import => import