Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21230

Re: Smoke-js library ??

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Re: Smoke-js library ??
Date Mon, 9 Sep 2013 08:42:34 -0600
Lines 39
Message-ID <b96530F316qU1@mid.individual.net> (permalink)
References <b91l7oF5bgdU1@mid.individual.net> <522cbb98$0$9514$9b4e6d93@newsspool1.arcor-online.net>
X-Trace individual.net 2RnA4Yp518W5Y4ZAvO2T3AueHVxGlQ5FkIjLRpUpe4BdmbuPMm
Cancel-Lock sha1:ASIka1UQHAlEerwDrHiXLUgDcLk=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646 Format=Flowed; Original
Xref csiph.com comp.lang.javascript:21230

Show key headers only | View raw


Cristoph said:

> I'm quite sure that this is the normal behavior of the function.  You'll
> have to rewrite existing code that uses window.confirm() somewhat, for
> instance:
>
>  result = confirm("The record will be deleted!");
>  if (result) {
>    // delete the record
>  } else {
>    // do something else
>  }
>
> has to be changed to:
>
>  smoke.confirm("The record will be deleted!", function(result) {
>    if (result) {
>      // delete the record
>    } else {
>      // do something else
>    }
>  });
>
> Cf. <http://smoke-js.com/docs/>
>


Hi Christoph:

    I had a response to a query from Jonathan Youngblood (creator of this 
library) last nite. He also said what you've told me.

So, I'll work on it today.

Thank you for the response.

-Mel

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Smoke-js library ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-07 15:47 -0600
  Re: Smoke-js library ?? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-08 20:03 +0200
    Re: Smoke-js library ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-09 08:42 -0600
      Re: Smoke-js library ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-09 17:56 -0600

csiph-web