Closed gerardo-rodriguez closed 6 years ago
Thanks for this Vue Hammer plugin! I was trying it out and it seems to be what I was needed. 😉
One question, I see that lodash is a dependency but it is not listed as a dependency in the package.json file. 🤔
lodash
package.json
After digging in a bit more, I'm curious if you need the lodash import at all? 🤔
Instead of:
if (!isEmpty(direction)) { ... }
Could you do this?
if (Object.keys(direction).length) { ... }
Thanks for this Vue Hammer plugin! I was trying it out and it seems to be what I was needed. 😉
One question, I see that
lodash
is a dependency but it is not listed as a dependency in thepackage.json
file. 🤔