File tree Expand file tree Collapse file tree 5 files changed +1
-8
lines changed Expand file tree Collapse file tree 5 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 11import { Controller } from 'stimulus'
2- import Cropper from 'cropperjs' ;
32
43export default class extends Controller {
54 static targets = [ 'image' ]
Original file line number Diff line number Diff line change 33// a relevant structure within app/javascript and only use these pack files to reference
44// that code so it'll be compiled.
55import 'controllers'
6- import 'cropperjs/dist/cropper.css' ;
76
87require ( "axios" )
98require ( "lodash" )
Original file line number Diff line number Diff line change 2424 < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.3/styles/github-gist.min.css ">
2525 < script src ="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.1/highlight.min.js "> </ script >
2626 < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.9/cropper.min.css " integrity ="sha512-w+u2vZqMNUVngx+0GVZYM21Qm093kAexjueWOv9e9nIeYJb1iEfiHC7Y+VvmP/tviQyA5IR32mwN/5hTEJx6Ng== " crossorigin ="anonymous " />
27+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.9/cropper.min.js " integrity ="sha512-9pGiHYK23sqK5Zm0oF45sNBAX/JqbZEP7bSDHyt+nT3GddF+VFIcYNqREt0GDpmFVZI3LZ17Zu9nMMc9iktkCw== " crossorigin ="anonymous "> </ script >
2728 </ head >
2829
2930 < body >
Original file line number Diff line number Diff line change 77 "@rails/ujs" : " ^6.0.0" ,
88 "@rails/webpacker" : " 4.2.2" ,
99 "axios" : " ^0.19.2" ,
10- "cropperjs" : " ^1.5.9" ,
1110 "lodash" : " ^4.17.15" ,
1211 "marked" : " ^0.8.2" ,
1312 "stimulus" : " ^1.1.1" ,
Original file line number Diff line number Diff line change @@ -2110,11 +2110,6 @@ cropperjs@^1.5.6:
21102110 resolved "https://registry.yarnpkg.com/cropperjs/-/cropperjs-1.5.7.tgz#b65019725bae1c6285e881fb661b2141fa57025b"
21112111 integrity sha512-sGj+G/ofKh+f6A4BtXLJwtcKJgMUsXYVUubfTo9grERiDGXncttefmue/fyQFvn8wfdyoD1KhDRYLfjkJFl0yw==
21122112
2113- cropperjs@^1.5.9 :
2114- version "1.5.9"
2115- resolved "https://registry.yarnpkg.com/cropperjs/-/cropperjs-1.5.9.tgz#4ff9d31e02ad04d2fc5df0044207c2ad53d99da8"
2116- integrity sha512-aPWlg43sLIcYN4GBXIdyvM09wNPgn1ug+vNVwV8jlb3dbgEX/B34Iw6hrjGSajkUDQBmaCi6uPOevFb7N0yUsw==
2117-
21182113cross-spawn@6.0.5, cross-spawn@^6.0.0 :
21192114 version "6.0.5"
21202115 resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
You can’t perform that action at this time.
0 commit comments