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


Groups > comp.lang.javascript > #29031 > unrolled thread

Re: The Screen interface

Started byAleksandro <aleksandro@gmx.com>
First post2015-12-23 15:41 -0300
Last post2015-12-25 17:53 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.javascript

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: The Screen interface Aleksandro <aleksandro@gmx.com> - 2015-12-23 15:41 -0300
    Re: The Screen interface Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-25 17:53 +0100

#29031 — Re: The Screen interface

FromAleksandro <aleksandro@gmx.com>
Date2015-12-23 15:41 -0300
SubjectRe: The Screen interface
Message-ID<n5epof$op1$2@dont-email.me>
On 23/12/15 15:17, Stefan Ram wrote:
>   The page
> 
> developer.mozilla.org/en-US/docs/Web/API/Screen
> 
>   contains »
> 
> Screen.height
> Returns the height of the screen in pixels.
> 
> Screen.width
> Returns the width of the screen.
> 
>   «. So /that's/ the difference between »height« and »width«:
>   »height« is measured in pixels, while »width« is measured
>   in an unspecified unit! ;-)
> 
>   I often find the MDN to be quite mediocre. For example, in
>   the case above, I also do not deem properties to »return«
>   values. /Functions/ return values, properties /have/ them.
> 
>   Also, it is not necessary to always repeat the name of the
>   interface and to use a verb when a value is being described.
> 
>   So, I'd write this as (assuming that »width« /is/ in pixels): »
> 
> The interface Screen
> 
> height
> the height of the screen in pixels
> 
> width
> the width of the screen in pixels
> 
>   «.

¿How about contributing such correction to the documentation?

[toc] | [next] | [standalone]


#29041

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2015-12-25 17:53 +0100
Message-ID<9427405.X3feZSToSO@PointedEars.de>
In reply to#29031
Stefan Ram wrote:

> Aleksandro <aleksandro@gmx.com> writes:
>>¿How about contributing such correction to the documentation?
> 
>   Siéntete libre de hacerlo.

Figures.  You would rather whine about how terrible something is instead of 
trying to improve it.

-- 
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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web