vue-croppie icon indicating copy to clipboard operation
vue-croppie copied to clipboard

outputHeightRatio not defined error!

Open mehulkaklotar opened this issue 6 years ago • 8 comments

when using npm package, getting this image

npm package has this error here image

there is a variable define error. i think need to update the croppie lib here.

mehulkaklotar avatar Mar 20 '18 13:03 mehulkaklotar

Hi @mehulkaklotar thanks for reporting this. I'll investigate this as soon as possible. For the meantime, can you kindly create a reproduction link please? Thanks.

jofftiquez avatar Mar 21 '18 03:03 jofftiquez

@jofftiquez there is a issue in code dist lib. see here https://github.com/jofftiquez/vue-croppie/blob/master/dist/index.js#L1383. outputHeightRatio is not defined because it has no var because outputWidthRatio has ; with it.

mehulkaklotar avatar Mar 23 '18 17:03 mehulkaklotar

@mehulkaklotar This is actually from the official Croppie code base. See https://github.com/Foliotek/Croppie/blob/master/croppie.js#L1162. I'll talk to the author tho. Thanks for pointing it out.

jofftiquez avatar Mar 23 '18 21:03 jofftiquez

@jofftiquez do you have update on this?

mehulkaklotar avatar Apr 19 '18 11:04 mehulkaklotar

@mehulkaklotar hello. I am sorry, but so far I haven't got any response from Croppie itself. :(

jofftiquez avatar Apr 20 '18 02:04 jofftiquez

@jofftiquez could you please review and merge #32?

gregurco avatar Jul 16 '18 18:07 gregurco

@gregurco Thanks! Am still thinking if I will merge #32 coz am planning to update this repo to Croppie's latest version anyways. I'll review it again.

jofftiquez avatar Jul 17 '18 03:07 jofftiquez

Any update on this?

tshafer avatar Sep 01 '18 17:09 tshafer