Class: Xmvc::API
Constant Summary
Constants inherited
from Vendor
Vendor::CONFIG_FILENAME
Instance Attribute Summary
Attributes inherited from Vendor
#config, #css, #js
Instance Method Summary
collapse
Methods inherited from Vendor
asset_urls, #bundle, bundle_css, bundle_js, install, load, vendor_name
Instance Method Details
#secretary(type = :js) ⇒ Object
32
33
34
35
36
37
38
39
|
# File 'lib/xmvc/api.rb', line 32
def secretary(type = :js)
say_status "secretary", self.class.to_s
Sprockets::Secretary.new({
:root => destination_root,
:load_path => ["vendor/plugins"],
:source_files => config["javascripts"]
})
end
|