[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get the non-minimized versions of handsontable/all.min.js and others



I generally pull the min.js files from the handsontable GitHub repo: https://github.com/handsontable/handsontable (see releases, dist folder).  You can find the current release version for rhandsontable in the rhandsontable/inst/htmlwidgets/rhandsontable.yaml file.  

Let me know if you need us to create a new version of the library that uses non-minified files.  Switching will increase the package size significantly.

Jonathan

On Thu, Jan 31, 2019, 6:15 AM Andreas Tille <andreas@an3as.eu wrote:
Hi Jonathan,

the R packaging team in Debian has packaged your rhandsontable package
for Debian.  Debian iconsiders minimized _javascript_ as not human
readable code and thus not considered as source code.  So we need to
provide the non-minimized code inside the source of our packaging.

In your rhandsontable package I've found

  inst/htmlwidgets/lib/numbro/languages.min.js
  inst/htmlwidgets/lib/chroma/chroma.min.js
  inst/htmlwidgets/lib/handsontable/all.min.js

where it is not easy for me to find the not minimized form (no problem
for the other JS scripts).  For instance for handsontable I checked

  https://github.com/handsontable/handsontable

but the code I get there from the dist directory are way larger files
and I have no clue what is actually behind all.min.js.  Since I need to
ask you for this anyway I did not yet checked numbro/languages and
chroma/chroma whether I could find the source code since it seems to be
the more straightforward approach to ask you about this.

Could you help me from where you've got these JS code and what might
be the original source code form.

Kind regards

       Andreas.

--
http://fam-tille.de

Reply to: