Skip to content

Commit

Permalink
asset pipeline fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Singh committed Nov 3, 2011
1 parent 5085666 commit b52fe62
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 2,347 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
# admin_data

## Rails 3.0.x

If you are using Rails 3.0.x then use

gem 'admin_data', '= 1.1.14'

## Rails 3.1.x

If you are using Rails 3.1.x then use

gem 'admin_data', '>= 1.1.15'
gem 'admin_data', '>= 1.1.16'

Also add following lines to config/application.rb just below the line that says <tt>config.assets.enabled = true</tt> .

config.assets.precompile += ['admin_data.css', 'admin_data.js']

Before deploying the code to production execute

bundle exec rake assets:precompile


Live demo is available at http://admin-data-demo.heroku.com/admin_data (read only version)

Expand Down
18 changes: 18 additions & 0 deletions app/assets/javascripts/admin_data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//= require ./vendor/jquery-1.4.2.js
//= require ./vendor/jquery-ui-1.7.2.custom.min.js
//= require ./vendor/jquery_form
//= require ./vendor/log
//= require ./vendor/rails
//= require ./misc/drop_down_change
//= require ./misc/quick_search_input_focus
//= require ./advance_search/global_ajax_setting
//= require ./misc/js_util
//= require ./analytics/report
//= require ./advance_search/advance_search
//= require ./advance_search/advance_search_structure
//= require ./advance_search/ajaxify_advance_search
//= require ./advance_search/act_on_result
//= require ./advance_search/build_first_row
//= require ./advance_search/event_bindings
//= require ./advance_search/trigger_submit_on_domready
//= require ./advance_search/sortby
120 changes: 0 additions & 120 deletions app/assets/javascripts/test/act_on_result.js

This file was deleted.

80 changes: 0 additions & 80 deletions app/assets/javascripts/test/advance_search.js

This file was deleted.

29 changes: 0 additions & 29 deletions app/assets/javascripts/test/ajaxify_advance_search.js

This file was deleted.

10 changes: 0 additions & 10 deletions app/assets/javascripts/test/build_first_row.js

This file was deleted.

100 changes: 0 additions & 100 deletions app/assets/javascripts/test/event_bindings.js

This file was deleted.

Loading

0 comments on commit b52fe62

Please sign in to comment.