almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.84k stars 1.48k forks source link

Migrate various util.js methods to Lodash. #1622

Open ludost opened 8 years ago

ludost commented 8 years ago

As a general cleanup and consistency enhancement, we should use Lodash for utility functions as much as possible.

AlexDM0 commented 8 years ago

Sure, though many of them are custom.. We should also keep the filesize small so if including Lodash or a different util lib greatly increases the filesize, sparing us 20 lines of code, I'd rather write the 20 lines of code..

mojoaxel commented 7 years ago

We should definitely have a look if we can replace custom functions wit library functions! Webpack 2 now supports tree shaking so we don't have to import the whole library but only the parts be use.