Skip to content

Commit

Permalink
Modified base.css to use select2/select2.css, which is compatible wit…
Browse files Browse the repository at this point in the history
…h the Rails asset pipeline. This modification allows the assets for this gem to compile properly when deployed to Heroku.

Fixes jarray52/forem#1
  • Loading branch information
jarray52 authored and radar committed Apr 9, 2014
1 parent a155e41 commit c84d01a
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 1,384 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gemspec

gem 'pry-rails'
gem 'pry-nav'
gem 'select2-rails', '~> 3.5.4'

platforms :jruby do
gem "activerecord-jdbc-adapter", :require => false
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/forem.js.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//= require select2/select2
//= require select2

var Forem = {};
Forem.routes = {};
3 changes: 2 additions & 1 deletion app/assets/stylesheets/forem/base.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*
*= require select2
*/
*/

Binary file removed vendor/assets/images/select2/select2-spinner.gif
Binary file not shown.
Binary file removed vendor/assets/images/select2/select2.png
Binary file not shown.
Binary file removed vendor/assets/images/select2/select2x2.png
Binary file not shown.
22 changes: 0 additions & 22 deletions vendor/assets/javascripts/select2/select2.js

This file was deleted.

Loading

0 comments on commit c84d01a

Please sign in to comment.