Sha256: 4389a9818b28bef1c81dc4a39a5dae9a999d3aa9dd0a4387f5750c8f7dfecd27
Contents?: true
Size: 761 Bytes
Versions: 3
Compression:
Stored size: 761 Bytes
Contents
<% MountainView.configuration.included_stylesheets.each do |included_stylesheet| %> <%= require_asset included_stylesheet %> <% end %> <% if Dir.exists?(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
3 entries across 3 versions & 1 rubygems