shawnchin/jquery-cron

Missing var keyword

systemsplanet-zz opened this issue · 3 comments

for (key in o.customValues) {

 for (var key in o.customValues) {

Another instance

for (key in opts.customValues) {

Another

root = $(this).data("root");

Another

var min = hour = day = month = dow = "*";

replace with

var min, hour, day, month, dow;
min = hour = day = month = dow = "*";