Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29031 > unrolled thread
| Started by | Aleksandro <aleksandro@gmx.com> |
|---|---|
| First post | 2015-12-23 15:41 -0300 |
| Last post | 2015-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.
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
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Date | 2015-12-23 15:41 -0300 |
| Subject | Re: 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]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2015-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