Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #11887
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news-peer.in.tum.de!news.belwue.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="ISO-8859-1" |
| Message-ID | <1493830.6P2SmCNXNH@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Sat, 18 Feb 2012 11:32:16 +0100 |
| User-Agent | KNode/4.4.11 |
| Content-Transfer-Encoding | 7Bit |
| Subject | Re: Mystical incantation of the day |
| Newsgroups | comp.lang.javascript |
| References | <R4KdnYJKPoE1kqLSnZ2dnUVZ_u2dnZ2d@westnet.com.au> |
| Followup-To | comp.lang.javascript |
| MIME-Version | 1.0 |
| Lines | 21 |
| NNTP-Posting-Date | 18 Feb 2012 11:32:16 CET |
| NNTP-Posting-Host | 56d03b8b.newsspool3.arcor-online.net |
| X-Trace | DXC=[SA=c5@lnP<U`5g[@c]@J1McF=Q^Z^V384Fo<]lROoR18kF<OcfhCO;dd@C8U4Bnn>DZm8W4\YJN<b@mF9jNikd5@_VbHgL8ki1Y4L8MD00W@< |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.javascript:11887 |
Followups directed to: comp.lang.javascript
Show key headers only | View raw
RobG wrote:
> I seem to remember a thread about these things some time ago, anyway
> came across a new one:
>
> (function(global) {
> ...
> })(typeof window === 'undefined' ? this : window);
>
> Lots to ponder there.
For a more streamlined discussion, what exactly are the issues that you see
with that code?
PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Mystical incantation of the day RobG <rgqld@iinet.net.au> - 2012-02-18 12:40 +1000
Re: Mystical incantation of the day "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-02-18 06:17 +0000
Re: Mystical incantation of the day Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-18 09:56 +0100
Re: Mystical incantation of the day "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-02-18 15:36 +0000
Re: Mystical incantation of the day Asen Bozhilov <asen.bozhilov@gmail.com> - 2012-02-18 01:30 -0800
Re: Mystical incantation of the day "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-02-18 15:37 +0000
Re: Mystical incantation of the day Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-18 11:32 +0100
Re: Mystical incantation of the day insin <jonathan.buchanan@gmail.com> - 2012-02-18 04:21 -0800
Re: Mystical incantation of the day "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-02-18 15:36 +0000
csiph-web