Sha256: b7467b161b8f98757d1362df71c5bc69a325535bf32ee3573f1124cf41c561e6

Contents?: true

Size: 363 Bytes

Versions: 37

Compression:

Stored size: 363 Bytes

Contents

module AppDrone
class Chosen < Drone
  desc 'Installs the Chosen plugin by HarvestHQ'
  category :ui
  depends_on :bundle, :stylesheet, :javascript
  pairs_with :flair

  def align
    bundle.add 'chosen-rails'
    stylesheet.pipeline 'chosen'
    javascript.pipeline 'chosen-jquery'
    javascript.on_ready "$('.chzn-select').chosen();"
    flair!
  end
end
end

Version data entries

37 entries across 23 versions & 1 rubygems

Version Path
app_drone-0.12.1 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.12.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.11.3 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.11.2 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.11.1 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.11.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.10.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.9.2 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.9.1 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.8.6 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.8.6 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.8.5 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.8.5 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.8.4alpha lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.8.4alpha lib/app_drone/drones/chosen/chosen.rb
app_drone-0.8.3 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.8.3 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.8.2 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.8.2 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.8.1 lib/app_drone/drones/chosen/chosen.rb