smoke.js
smoke.js copied to clipboard
smoke.signal ... the previous way
I am using smoke.js for a long time. I already wrote about this library on my blog: #manejandodatos Smoke.Js for showing alerts and messages - http://www.manejandodatos.es/2013/10/smoke-js-showing-alerts-messages
In a previous version of this library I code something like this:
smoke.signal('Message', 1000);
where 1000 is the time that the funcion is working!
A few days ago, I updated smoke.js to the new version and I have noticed that the previous function is not working anymore!
Although I can notice the improvement is the new "smoke.signal" allowing callbacks, is there any chance to have a "smoke.signal2" function like in the previous version?
Append a property yourself with a function that switches the parameters, perhaps...