Class: Merb::Assets::JavascriptAssetBundler

Inherits:
AbstractAssetBundler show all
Defined in:
lib/merb-assets/assets.rb

Overview

Bundles javascripts into a single file:

javascripts/#{name}.js

Constant Summary

Constants included from AssetHelpers

AssetHelpers::ASSET_FILE_EXTENSIONS

Class Method Summary collapse

Methods inherited from AbstractAssetBundler

add_callback, #bundle!, cache_bundle, cached_bundle?, callbacks, #initialize, purge_bundle

Methods included from AssetHelpers

#asset_path

Constructor Details

This class inherits a constructor from Merb::Assets::AbstractAssetBundler

Class Method Details

.asset_typeObject

Returns

Symbol

The asset type, i.e. :javascript.



224
225
226
# File 'lib/merb-assets/assets.rb', line 224

def self.asset_type
  :javascript
end