Sha256: e2c96015ab27ba6f0d20373e218b0a18c935a8c21dd84a5d1b92a83c0f8442c8

Contents?: true

Size: 396 Bytes

Versions: 7

Compression:

Stored size: 396 Bytes

Contents

js_asset_path = File.join %w(app assets javascripts application.js)
@generator.remove_file(js_asset_path)
@coffee_asset_path = File.join %w(app assets javascripts application.js.coffee)
@generator.create_file @coffee_asset_path, <<-COFFEE
<% pipeline_requires.each { |r| %>//= require <%= r %>
<% } %>//= require_tree .

$(document).ready ->
  <% on_readies.each { |r| %><%= r %>
<% } %>

COFFEE

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
app_drone-0.4.0 lib/app_drone/drones/javascript/application_coffee.erb
app_drone-0.3.4 lib/app_drone/drones/javascript/application_coffee.erb
app_drone-0.3.3 lib/app_drone/drones/javascript/application_coffee.erb
app_drone-0.3.2 lib/app_drone/drones/javascript/application_coffee.erb
app_drone-0.3.1 lib/app_drone/drones/javascript/application_coffee.erb
app_drone-0.2.1 lib/app_drone/drones/javascript/application_coffee.erb
app_drone-0.2.0 lib/app_drone/drones/javascript/application_coffee.erb