Sha256: 3506a547dac666e7fbf2cb138f3047487f4b11bace1a0f2aeab1bb0843d81236
Contents?: true
Size: 622 Bytes
Versions: 10
Compression:
Stored size: 622 Bytes
Contents
<% 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}.js" rescue Sprockets::FileNotFound Rails.logger.debug("MountainView: javascript not found for component '#{component}'") %> /* MountainView: javascript 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