Skip to content

Commit 97783d1

Browse files
Comment out ellipsis in code blocks (#18535)
* Comment out ellipsis in code blocks * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> * Update files/en-us/web/css/@media/-webkit-device-pixel-ratio/index.md Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]>
1 parent 921172f commit 97783d1

31 files changed

Lines changed: 108 additions & 104 deletions

File tree

files/en-us/web/api/xrlightestimate/primarylightdirection/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const lightProbe = await xrSession.requestLightProbe();
3434
function onXRFrame(time, xrFrame) {
3535
let lightEstimate = xrFrame.getLightEstimate(lightProbe);
3636

37-
// Render lights ...
37+
// Render lights
3838

3939
// Available properties
4040
lightEstimate.primaryLightDirection;

files/en-us/web/api/xrlightestimate/primarylightintensity/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const lightProbe = await xrSession.requestLightProbe();
3434
function onXRFrame(time, xrFrame) {
3535
let lightEstimate = xrFrame.getLightEstimate(lightProbe);
3636

37-
// Render lights ...
37+
// Render lights
3838

3939
// Available properties
4040
lightEstimate.primaryLightDirection;

files/en-us/web/api/xrlightestimate/sphericalharmonicscoefficients/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const lightProbe = await xrSession.requestLightProbe();
3737
function onXRFrame(time, xrFrame) {
3838
let lightEstimate = xrFrame.getLightEstimate(lightProbe);
3939

40-
// Render lights using lightEstimate.sphericalHarmonicsCoefficients ...
40+
// Render lights using lightEstimate.sphericalHarmonicsCoefficients
4141
}
4242
```
4343

files/en-us/web/api/xrprojectionlayer/fixedfoveation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Some devices don't support foveated rendering. In that case `fixedFoveation` is
4444
The `fixedFoveation` property allows you to set the level of foveation at runtime and for each frame. To set the maximum foveation for a given {{domxref("XRProjectionLayer")}}, use a value of `1`.
4545

4646
```js
47-
let glProjectionLayer = glBinding.createProjectionLayer(/* ... */);
47+
let glProjectionLayer = glBinding.createProjectionLayer(/* */);
4848
glProjectionLayer.fixedFoveation = 1; // maximum foveation
4949
```
5050

files/en-us/web/api/xrreferencespace/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ There are two situations in which you need to obtain an `XRReferenceSpace`. The
7272
```js
7373
xrSession.requestReferenceSpace("local").then((refSpace) => {
7474
xrReferenceSpace = refSpace;
75-
/* ... */
75+
//
7676
});
7777
```
7878

files/en-us/web/api/xrrigidtransform/inverse/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ for (let view of pose.view) {
5252
let viewport = glLayer.getViewport(view);
5353
gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height);
5454

55-
/* ... */
55+
//
5656

5757
mat4.multiply(modelViewMatrix, view.transform.inverse.matrix, objectMatrix);
5858
gl.uniformMatrix4fv(programInfo.uniformLocations.modelViewMatrix,
5959
false, modelViewMatrix);
6060

61-
/* ... */
61+
//
6262
}
6363
```
6464

files/en-us/web/api/xrsystem/devicechange_event/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ You can also use the `ondevicechange` event handler property to set a single han
7171
```js
7272
if (navigator.xr) {
7373
navigator.xr.ondevicechange = event => {
74-
/* ... etc ... */
74+
//
7575
};
7676
}
7777
```

files/en-us/web/api/xrwebglbinding/createcylinderlayer/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function onXRSessionStarted(xrSession) {
115115
centralAngle : 60 * Math.PI / 180,
116116
aspectRatio : 2,
117117
radius : 2,
118-
transform : new XRRigidTransform(/* ... */),
118+
transform : new XRRigidTransform(/* */),
119119
});
120120

121121
xrSession.updateRenderState({

files/en-us/web/api/xrwebglbinding/getdepthinformation/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const session = navigator.xr.requestSession("immersive-ar", {
5959

6060
const glBinding = new XRWebGLBinding(session, gl);
6161

62-
// ...
62+
//
6363

6464
// Obtain depth information in an active and animated frame
6565
function rafCallback(time, frame) {
@@ -71,7 +71,7 @@ function rafCallback(time, frame) {
7171
if (depthInformation) {
7272
// Do something with the depth information
7373
// gl.bindTexture(gl.TEXTURE_2D, depthInformation.texture);
74-
// ...
74+
//
7575
}
7676
}
7777
}

files/en-us/web/api/xsltprocessor/generating_html/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The XSL Stylesheet used will need to have two namespaces - one for the XSLT elem
3737
xmlns:myNS="http://devedge.netscape.com/2002/de">
3838

3939
<xsl:output method="html"/>
40-
...
40+
4141
</xsl:stylesheet version="1.0">
4242
```
4343

@@ -46,7 +46,7 @@ A template matching the root node of the XML document is created and used to cre
4646
**Figure 4: Creating the basic HTML document**
4747

4848
```xml
49-
...
49+
5050
<xsl:template match="/">
5151
<html>
5252

@@ -80,15 +80,15 @@ A template matching the root node of the XML document is created and used to cre
8080

8181
</html>
8282
</xsl:template>
83-
...
83+
8484
```
8585

8686
Three more `xsl:template`'s are needed to complete the example. The first `xsl:template` is used for the author nodes, while the second one processes the body node. The third template has a general matching rule which will match any node and any attribute. It is needed in order to preserve the HTML elements in the XML document, since it matches all of them and copies them out into the HTML document the transformation creates.
8787

8888
**Figure 5: Final 3 Templates**
8989

9090
```xml
91-
...
91+
9292
<xsl:template match="myNS:Author">
9393
-- <xsl:value-of select="." />
9494

@@ -112,7 +112,7 @@ Three more `xsl:template`'s are needed to complete the example. The first `xsl:t
112112
<xsl:apply-templates select="@*|node()"/>
113113
</xsl:copy>
114114
</xsl:template>
115-
...
115+
116116
```
117117

118118
The final XSLT stylesheet looks as follows:

0 commit comments

Comments
 (0)