Sha256: c51acfdf5c382ea53bb86789613a444facef332371e11130ee00dfb4d0a636a2

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

Rails.application.expansions.register do
  expansion :defaults, :type => :js do
    `bas/bar`
    `bar/bas`
  end

  js do
    expansion :bas do
      `bas/bar`
      `bar/bas`
    end
  end

  css do
    expansion :bas do
      `bas/bar`
      `bar/bas`
    end
  end

  # for ExpansionsTest#asset_test_7
  expansion :jazz do
    js do
      `bas/bar`
      `bar/bas`
    end

    css do
      `bas/bar`
      `bar/bas`
    end
  end

  # for ExpansionsTest#asset_test_8
  group :development do
    expansion :dev do
      asset 'bas/bar', :type => :js
      asset 'bas/bar', :type => :css
    end
  end

  group :development do
    expansion :dev2 do
      js do
        `bas/bar`
        `bar/bas`
      end
    end
  end

  expansion :envs do
    group :development do
      a 'bar/bas', :type => :css
      js do
        `bar/bas`
      end
    end
  end

  expansion :envs2, :type => :js do
    group :development do
      `bas/bar`
      `bar/bas`
    end
  end

  expansion :basfoo do
    `bas/bar.js`
    `bar/bas.js`
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_assets-0.2.0.rc2 test/fixtures/rails_root/config/assets/assets.rb
active_assets-0.2.0.rc test/fixtures/rails_root/config/assets/assets.rb
active_assets-0.1.0 test/fixtures/rails_root/config/assets/assets.rb