Sha256: 65366afbebe93c62e5cd8f9b9a22c45c65de315a2e4a5d187c7231ca2686690b
Contents?: true
Size: 475 Bytes
Versions: 6
Compression:
Stored size: 475 Bytes
Contents
# Complete! module AppDrone class Javascript < Drone desc "Generates application.js.coffee with manifest options and jQuery load hooks" attr_accessor :pipeline_requires, :on_readies def setup self.pipeline_requires = [] self.on_readies = [] self.pipeline 'jquery' self.pipeline 'jquery_ujs' end def pipeline(r); self.pipeline_requires << r end def on_ready(r); self.on_readies << r end def execute do! :application_coffee end end end
Version data entries
6 entries across 6 versions & 1 rubygems