lib/rails/generators/humdrum/layout/templates/javascripts/application.js in humdrum-rails-0.0.8 vs lib/rails/generators/humdrum/layout/templates/javascripts/application.js in humdrum-rails-0.0.9

- old
+ new

@@ -10,17 +10,21 @@ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // //= require jquery //= require jquery_ujs -<% if options.front_end_framework == "bootstrap" -%> -//= require bootstrap -<% elsif options.front_end_framework == "gumby" -%> +// +<% case framework + when "bootstrap3", "bootstrap2" -%> +//= require bootstrap.min +//= require utilities +<% when "gumby" -%> //= require gumby.min <% end %> - +// // For jQery validations - http://jqueryvalidation.org/documentation/ //= require jquery.validate //= require jquery.validate.additional-methods +// // include validation init functions //= require_tree ./validations