Skip to content

Commit

Permalink
Move image crop libs to vendor
Browse files Browse the repository at this point in the history
Also don't import cropper css in main refinery
  • Loading branch information
bricesanchez committed Jul 19, 2018
1 parent f7b7f28 commit 398b6ae
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions core/app/assets/config/refinery_core_manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
//= link refinery/site_bar.css
//= link refinery/theme.css

//= link refinery/plugins/cropper.css
//= link refinery/plugins/cropper.js
//= link cropper.css
//= link cropper.js
//= link refinery/image_crop.js
1 change: 0 additions & 1 deletion core/app/assets/stylesheets/refinery/refinery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@import 'mixins/rounded';

@import 'plugins/ui';
@import 'plugins/cropper';

@import 'components/icons';
@import 'components/dialog';
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions images/app/views/refinery/admin/images/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
</div>

<% content_for :after_javascript_libraries do %>
<%= javascript_include_tag 'refinery/plugins/cropper' %>
<%= javascript_include_tag 'cropper' %>
<%= javascript_include_tag 'refinery/image_crop' %>
<% end %>
<% content_for :stylesheets, stylesheet_link_tag('refinery/plugins/cropper') -%>
<% content_for :stylesheets, stylesheet_link_tag('cropper') -%>
<% end %>

0 comments on commit 398b6ae

Please sign in to comment.