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


Groups > comp.lang.javascript > #30251

Re: Flow of execution

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Flow of execution
Date Sun, 10 Apr 2016 13:45:51 +0200
Organization PointedEars Software (PES)
Lines 32
Message-ID <4025615.ZvNZHzr9Of@PointedEars.de> (permalink)
References <ned84i$c2i$1@gioia.aioe.org>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1460288752 22508 eJwFwYEBACAEBMCVUP8yjsj+I3SHRWX5JrgxmGvxFJ0ldYMyPcl89azisB3po8sn6AaTOB85PxFz (10 Apr 2016 11:45:52 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 10 Apr 2016 11:45:52 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwQkBwDAIA0BLPCUDOTRQ/xJ2Fw4Fv4PAiRevp63XxphqcKsWrESbR2khV90mfSqFS4JVcplXbOlP9wdMJhWE
Cancel-Lock sha1:/YSOrjc4SF8Fz2zctg8zt2IZSlg=
X-NNTP-Posting-Host eJwNxIENwDAIA7CXgCWhO6cb8P8JrSyZj1x/QhQ4l1d9DbtVUYPG2pQ5xhlvcCLXMk/uNG87JesQmg==
Xref csiph.com comp.lang.javascript:30251

Show key headers only | View raw


emf wrote:

> If I add an alert at the end of the following function (from
> hmf.neocities.org/ix/is5.html):
> 
> window.onload = function () {
>      "use strict";
>      document.getElementById("start").onclick = function () {
>          requestFullScreen();
>          init();
>          alert("!"); // added alert
>      };
> };
> 
> […] the alert appears immediately after the html is loaded.

It does not.  In the *actual* code, either the braces are in the wrong place 
or there is an extra alert(…) call.  But the part-URI that you gave is 404-
compatible.
 
> I would greatly appreciate an explanation of the flow of execution in
> JavaScript.

This has nothing to do with JavaScript.

And: No name, no cookies.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

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


Thread

Flow of execution emf <emfril@gmail.com> - 2016-04-10 05:58 -0400
  Re: Flow of execution Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-10 13:45 +0200
  Re: Flow of execution Philip Herlihy <thiswillbounceback@you.com> - 2016-04-10 17:48 +0100
    Re: Flow of execution Aleksandro <aleksandro@gmx.com> - 2016-04-10 15:20 -0300
  Re: Flow of execution "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-04-11 10:15 +0200
    Re: Flow of execution Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-12 00:34 +0200
    Re: Flow of execution / Full Screen mode emf <emfril@gmail.com> - 2016-04-11 21:57 -0400
      Re: Flow of execution / Full Screen mode Osmo Saarikumpu <osmo@weppipakki.com> - 2016-04-13 06:55 +0300
        Re: Flow of execution / Full Screen mode emf <emfril@gmail.com> - 2016-04-13 04:41 -0400
          Re: Flow of execution / Full Screen mode emf <emfril@gmail.com> - 2016-04-15 00:22 -0400
            Re: Flow of execution / Full Screen mode "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-04-15 12:53 -0700
            Re: Flow of execution / Full Screen mode Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-17 12:54 +0200
              Re: Flow of execution / Full Screen mode Nicholas Thayer <eatthecasket@gmail.com> - 2016-04-25 03:06 -0700
                Re: Flow of execution / Full Screen mode Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-25 21:48 +0200

csiph-web