ericjgagnon / wickedpicker

A simple jQuery timepicker
http://ericjgagnon.github.io/wickedpicker/
MIT License
93 stars 78 forks source link

JS debugging not hitting correctly after adding line of code #39

Open jkardong opened 7 years ago

jkardong commented 7 years ago

I'm seeing a super odd issue. When I added the following code, the Chrome/Firefox debugger gets out of sync, meaning it seems to hit on comments and white spaces.

$('#new-show-time').wickedpicker({
    now: moment().format("HH:mm"),
    title: 'Select Time',
     twentyFour: false,
    showSeconds: false
    });

$('#new-air-break-time').wickedpicker({
    now: moment().format("HH:mm"),
    title: 'Select Time',
     twentyFour: false,
    showSeconds: false
    });

Even stranger is if I comment the code out, I get a console error that syntax is incorrect. I have to cut the code from the file for it to work.

Any idea of what's happening??

ericjgagnon commented 7 years ago

Sorry, I haven't encountered that issue myself. I plan on fixing my branching strategy in the near future so I can do a better job of maintaining this project.