Method: Batman::Generators::AppGenerator#inject_batman
- Defined in:
- lib/generators/batman/app_generator.rb
#inject_batman ⇒ Object
62 63 64 65 66 67 68 69 70 71 |
# File 'lib/generators/batman/app_generator.rb', line 62 def inject_batman with_app_name do application_file = File.join(app_path, "#{application_name}.js.coffee") prepend_file application_file, app_requires prepend_file application_file, jquery_requires unless [:skip_jquery] prepend_file application_file, batman_requires prepend_file application_file, es5_requires unless [:skip_es5] end end |