Sha256: 9806dd238030ba285856126373ad8734dd39a708cf9a8b66170e2081d2245743
Contents?: true
Size: 588 Bytes
Versions: 29
Compression:
Stored size: 588 Bytes
Contents
module AppDrone class Javascript < Drone desc "Generates application.js.coffee with manifest options and jQuery load hooks" category :base attr_accessor :pipeline_requires, :on_readies depends_on :bundle # not really, but makes for good ordering in DependencyChain def setup self.pipeline_requires = [] self.on_readies = [] self.pipeline 'jquery' self.pipeline 'jquery_ujs' self.pipeline 'init' 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
29 entries across 19 versions & 1 rubygems