SeverinDK / moment-timer

Timer plugin for Moment.js that allows creation of setInterval and setTimeout-like timers.
MIT License
110 stars 33 forks source link

timer generate undefined for the first start #8

Closed newbie78 closed 7 years ago

newbie78 commented 7 years ago

Hi!

    function Timer(duration, attributes, callback) {
        console.log(attributes.wait);

this code generate undef if i'm not use wait attrib.

tnx

SeverinDK commented 7 years ago

I am not sure what the issue is here. You posted half a function as an example. You need to describe your problem a little better.

SeverinDK commented 7 years ago

Closing this. I assume you solved the issue yourself.