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

Version Path
mountain_view-0.14.0 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.13.0 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.12.3 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.12.2 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.12.1 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.12.0 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.11.0 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.10.0 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.9.1 app/assets/stylesheets/mountain_view.css.erb
mountain_view-0.9.0 app/assets/stylesheets/mountain_view.css.erb