This PR removes the dependency on lodash. The entire lodash library was being imported for the use of a single function (_.range). I went ahead and created a range utility function, which is literally the lodash function copied over. I could have used ember-browserify and imported the lodash.range npm module, but ultimately, that would have been bulky. In the interest of keeping things lean, I opted for this approach.
This PR removes the dependency on lodash. The entire lodash library was being imported for the use of a single function (
_.range
). I went ahead and created arange
utility function, which is literally the lodash function copied over. I could have usedember-browserify
and imported thelodash.range
npm module, but ultimately, that would have been bulky. In the interest of keeping things lean, I opted for this approach.