merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
439 stars 145 forks source link

Remove jquery-ui dependency #219

Closed ozcan closed 7 years ago

ozcan commented 9 years ago

Jquery-UI is a very big library and we are using only one function from it. Removing this dependency will improve cloning speed.

References to JqueryUI in codebase

anvio/data/interactive/js/main.js

// make layers and samples table sortable
$("#tbody_layers").sortable({helper: fixHelperModified, handle: '.drag-icon', items: "> tr:not(:first)"}).disableSelection(); 
$("#tbody_samples").sortable({helper: fixHelperModified, handle: '.drag-icon', items: "> tr"}).disableSelection(); 
meren commented 9 years ago

Thanks for looking into this, Ozcan. I think removing jquery-ui will save a couple of hundreds megs of download, too.