-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use driver_ujs now that we no longer have to depend on a shared name …
…and insert all prototype dependencies if thats specified
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# FIXME: Tell people that this is a manifest file, real code should go into discrete files | ||
# FIXME: Tell people how Sprockets and CoffeeScript works | ||
# | ||
#= require <%= options[:javascript] %> | ||
#= require <%= options[:javascript] %>_ujs | ||
<% if options[:javascript] == "prototype" %> | ||
#= require controls | ||
#= require dragdrop | ||
#= require effects | ||
<% end -%> | ||
#= require_tree . |