vladocar / femtoJS

femtoJS - Really small JavaScript (ES6) library for DOM manipulation.

Home Page:https://vladocar.github.io/femtoJS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't mix es5 and es6

nickforddev opened this issue · comments

If you're going to use es6 syntax, you should be using const instead of var.

I highly recommend you set up eslint as well, with a common config like standardjs or airbnb

There are no vars anymore, and everything is properly scoped in an IIFE. The only global is now $.