Sha256: 98005768b7339151102fe64923993667b1e37f2d36395ae012b78a86d256c1ef
Contents?: true
Size: 463 Bytes
Versions: 7
Compression:
Stored size: 463 Bytes
Contents
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
7 entries across 7 versions & 1 rubygems