Sha256: b3ffd166660fb83b097680d5576fdd5c1364e978ff1ee540322215ebd91484d5
Contents?: true
Size: 760 Bytes
Versions: 10
Compression:
Stored size: 760 Bytes
Contents
<% MountainView.configuration.included_stylesheets.each do |included_stylesheet| %> <%= require_asset included_stylesheet %> <% end %> <% if Dir.exist?(MountainView.configuration.components_path) %> <% depend_on MountainView.configuration.components_path.to_s %> <% Dir.glob(MountainView.configuration.components_path.join('*')).each do |component_dir| component = File.basename component_dir begin require_asset "#{component}/#{component}.css" rescue Sprockets::FileNotFound Rails.logger.debug("MountainView: stylesheet not found for component '#{component}'") %> /* MountainView: stylesheet not found for component '<%= component %>' */ <% end end %> <% else %> <% depend_on Rails.root.join('app').to_s %> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems