uzairfarooq / arrive

Watch for DOM elements creation and removal
MIT License
872 stars 99 forks source link

Make jshint/lint pass without change behavior #52

Closed CauanCabral closed 8 years ago

CauanCabral commented 8 years ago

JSHint is a tool to check your JS code for common coding-mistakes or bad practices - after trying to pass the lib over a CI server, I've found some Notices/Warnings and Errors.

This PR fix that with minimum code changeset.

Before the changes, JSHint found 35 potentially mistakes, now are 0.

uzairfarooq commented 8 years ago

Thanks! Will make it part of next release.