Skip to content

Commit e0996bd

Browse files
committed
Fix docs linting issues
1 parent c1fc1de commit e0996bd

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/hyperscript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ m("a-scene", [
219219
])
220220
```
221221

222-
And yes, this translates to both attributes and properties, and it works just like they would in the DOM. Using [Brick's `brick-deck`](http://brick.mozilla.io/docs/brick-deck) as an example, they have a `selected-index` attribute with a corresponding `selectedIndex` getter/setter property.
222+
And yes, this translates to both attributes and properties, and it works just like they would in the DOM. Using Brick's `brick-deck` (DEAD LINK, FIXME: http //brick.mozilla.io/docs/brick-deck) as an example, they have a `selected-index` attribute with a corresponding `selectedIndex` getter/setter property.
223223

224224
```javascript
225225
m("brick-deck[selected-index=0]", [/* ... */]) // lowercase

docs/simple-application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var User = {
8080
module.exports = User
8181
```
8282

83-
Then we can add an `m.request` call to make an XHR request. For this tutorial, we'll make XHR calls to the [REM](https://rem-rest-api.herokuapp.com/) API, a mock REST API designed for rapid prototyping. This API returns a list of users from the `GET https://rem-rest-api.herokuapp.com/api/users` endpoint. Let's use `m.request` to make an XHR request and populate our data with the response of that endpoint.
83+
Then we can add an `m.request` call to make an XHR request. For this tutorial, we'll make XHR calls to the REM (DEAD LINK, FIXME: https //rem-rest-api.herokuapp.com/) API, a mock REST API designed for rapid prototyping. This API returns a list of users from the `GET https://rem-rest-api.herokuapp.com/api/users` endpoint. Let's use `m.request` to make an XHR request and populate our data with the response of that endpoint.
8484

8585
*Note: third-party cookies may have to be enabled for the REM endpoint to work.*
8686

scripts/lint-docs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ async function lintAll({useCache}) {
281281
"**/changelog.md",
282282
"**/migration-*.md",
283283
"**/node_modules/**",
284+
"**/recent-changes.md"
284285
],
285286
nodir: true,
286287
})
@@ -309,6 +310,7 @@ if (require.main === module) {
309310
"**/changelog.md",
310311
"**/migration-*.md",
311312
"**/node_modules/**",
313+
"**/recent-changes.md"
312314
],
313315
})
314316
.on("add", lintOne)

0 commit comments

Comments
 (0)