Kinark / Materialize-stepper

A little plugin that implements a stepper to Materializecss framework.
https://kinark.github.io/Materialize-stepper/
MIT License
227 stars 60 forks source link

Added explicit var declarations #19

Closed Badlapje closed 7 years ago

Badlapje commented 7 years ago

When using this project i found i had to debug because all the implicit global variables you use clash with the use strict directive. Fixing it was easy enough: i just added var in front of every single implicit global variable declaration. I could have used let also, but wanted to stick close to your code style for legibility reasons.

Kinark commented 7 years ago

Merged :) Thank you