Closed LeonFedotov closed 13 years ago
ok ok got the idea, and added some improvements, tell me what you think ^_^
dude these are some sweet improvements. i'll merge when i get the chance to update the documentation. thanks a lot!
^_^ glad you like, i use smoke on an internal project thank you :)
added (with some modifications) to the project. thanks again, man.
Ive just read trough cool changes, i noticed you didn't add the scoping, i would add them even as an option - i would want to avoid doing stuff like so: var that = this; smoke.confirm('sure?' , function () { (function() { /do something/ }).call(that); }); but its up to you so im happy...
Hello. Thanks for your smoke.js.
Sorry but i don't understand how i can return true or false froma smoke.confirm.
For example, i need to do this inside a Javascript function
smoke.confirm('confirm delete ?',function(e){ if (e){ return true; }else{ return false; } });
But it doesn't work
could help me ?
thanks in advance
Oh wait, I'm not sure... How can we implement that bhaivior: if(confirm('question')) {
}
like that:
smoke.confirm('question', function (b) { return b?(function () {
}()):false;);
?