Yang-Tang / shinyjqui

jQuery UI Interactions and Effects for Shiny
https://yang-tang.github.io/shinyjqui/
Other
271 stars 32 forks source link

Minify shinyjqui.js? #3

Closed doug-friedman closed 5 years ago

doug-friedman commented 7 years ago

As a nice to have, it might be worth it to compress/minify the shinyjqui.js file? I ran it through JSCompress and got a 6kb reduction is file size.

Yang-Tang commented 7 years ago

Good idea! I'll try to do that. Thanks for the suggestion.

doug-friedman commented 7 years ago

Thanks!

trafficonese commented 5 years ago

I would like to reopen this as the minified version is commented out in jquiHead() and the full version is included again.

Can we make this a parameter somewhere, to ask if minified or full version should be included?

Yang-Tang commented 5 years ago

Hi @trafficonese , thanks for the suggestion. I have added a shinyjqui.debug option to control which version of shinyjqui.js to load.