Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #11885
| Message-ID | <1937453.aqSPkdTlGX@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2012-02-18 09:56 +0100 |
| Subject | Re: Mystical incantation of the day |
| Newsgroups | comp.lang.javascript |
| References | <R4KdnYJKPoE1kqLSnZ2dnUVZ_u2dnZ2d@westnet.com.au> <E4-dnVkFt-Pw36LSnZ2dnUVZ8jadnZ2d@giganews.com> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
Richard Cornford wrote:
> oPlugin = {
> ...
> Browser: {
> Explorer:!!(navigator.appName=='Microsoft Internet Explorer'),
> Other: !!!(navigator.appName=='Microsoft Internet Explorer'),
> Chrome: !!(navigator.userAgent.toLowerCase().indexOf('chrome')>-1)
> },
> ...
> }
>
> It is that middle - Other - property definition that really demonstrates
> someone doing something with a serious misconception of why they are
> doing it.
It is the needless double negation of an intrinsically boolean value in the
`Explorer:' line that shows me the cluelessness of the author already.
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