diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index fcdd7576..d2332f6c 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -12,6 +12,8 @@ // //= require jquery //= require jquery-ui +//= require jquery.purr +//= require best_in_place //= require autocomplete-rails-uncompressed //= require jquery_ujs //= require_tree . diff --git a/app/assets/javascripts/items.js.coffee b/app/assets/javascripts/items.js.coffee index 416905ae..854c5d55 100644 --- a/app/assets/javascripts/items.js.coffee +++ b/app/assets/javascripts/items.js.coffee @@ -1,3 +1,6 @@ # Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ \ No newline at end of file +# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ + +jQuery -> + $('.best_in_place').best_in_place()