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 =
YUI::JavaScriptCompressor.new(:munge => true)

Instance Method Summary collapse

Methods inherited from Packager

#package, #root

Instance Method Details

#actions_mapObject



93
94
95
# File 'lib/view_assets/packager/packager.rb', line 93

def actions_map
  JsActionsMap.new
end

#asset_extObject



102
103
104
# File 'lib/view_assets/packager/packager.rb', line 102

def asset_ext
  JS_EXT
end

#asset_pathObject



111
112
113
# File 'lib/view_assets/packager/packager.rb', line 111

def asset_path
  JS_PATH
end

#compressorObject



107
108
109
# File 'lib/view_assets/packager/packager.rb', line 107

def compressor
  COMPRESSOR
end

#finderObject



98
99
100
# File 'lib/view_assets/packager/packager.rb', line 98

def finder
  FINDER
end