Class: ViewAssets::Packager::JsPackager

Inherits:
Packager
  • Object
show all
Defined in:
lib/view_assets/packager/packager.rb

Constant Summary collapse

FINDER =
ViewAssets::Finder::JsFinder.new
COMPRESSOR =

COMPRESSOR = YUI::JavaScriptCompressor.new(:munge => true)

Compressor.new

Instance Method Summary collapse

Methods inherited from Packager

#package, #root

Instance Method Details

#actions_mapObject



113
114
115
# File 'lib/view_assets/packager/packager.rb', line 113

def actions_map
  JsActionsMap.new
end

#asset_extObject



122
123
124
# File 'lib/view_assets/packager/packager.rb', line 122

def asset_ext
  JS_EXT
end

#asset_pathObject



135
136
137
# File 'lib/view_assets/packager/packager.rb', line 135

def asset_path
  JS_PATH
end

#compressorObject



131
132
133
# File 'lib/view_assets/packager/packager.rb', line 131

def compressor
  COMPRESSOR
end

#finderObject



118
119
120
# File 'lib/view_assets/packager/packager.rb', line 118

def finder
  FINDER
end