Commit 982dd504 authored by Mike Greiling's avatar Mike Greiling
Browse files

merge cropper library into profile_bundle

parent fe36611fb49c
/* eslint-disable func-names, space-before-function-paren */
/*= require cropper */
(function() {
}).call(window);
/* eslint-disable no-useless-escape, max-len, quotes, no-var, no-underscore-dangle, func-names, space-before-function-paren, no-unused-vars, no-return-assign, object-shorthand, one-var, one-var-declaration-per-line, comma-dangle, consistent-return, class-methods-use-this, new-parens */
import 'vendor/cropper';
((global) => {
// Matches everything but the file name
const FILENAMEREGEX = /^.*[\\\/]/;
......
- content_for :page_specific_javascripts do
= page_specific_javascript_tag('lib/cropper.js')
= page_specific_javascript_bundle_tag('profile')
......@@ -100,7 +100,6 @@ class Application < Rails::Application
config.assets.precompile << "katex.js"
config.assets.precompile << "xterm/xterm.css"
config.assets.precompile << "lib/ace.js"
config.assets.precompile << "lib/cropper.js"
config.assets.precompile << "lib/raphael.js"
config.assets.precompile << "u2f.js"
config.assets.precompile << "vendor/assets/fonts/*"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment