Skip to content
Myr

docs: replace dummy with placeholder in example comments (#7064)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* docs: replace 'dummy' with 'placeholder' in example comments Use more inclusive language in code comments across example files. The term 'dummy' can be replaced with the clearer, more neutral term 'placeholder' without any change in meaning. Files changed: - examples/ejs/index.js - examples/route-middleware/index.js - examples/auth/index.js * ci: re-trigger coverage after transient coveralls.io error ---------

authored by Sam Tucker-Davis · committed by GitHub · parent 06e2367 · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: stuckvgn <stuckvgn@users.noreply.github.com>

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:examples/auth/index.js+1 added-1 removed
modified:examples/ejs/index.js+1 added-1 removed
modified:examples/route-middleware/index.js+1 added-1 removed
13 unmodified lines
14// curl http://localhost:3000/user/115// curl http://localhost:3000/user/1/edit (unauthorized since this is not you)16// curl -X DELETE http://localhost:3000/user/0 (unauthorized since you are not an admin)1718// Dummy users18// Placeholder users19var users = [20 { id: 0, name: 'tj', email: 'tj@vision-media.ca', role: 'member' }21 , { id: 1, name: 'ciaran', email: 'ciaranj@gmail.com', role: 'member' }22 , { id: 2, name: 'aaron', email: 'aaron.heckmann+github@gmail.com', role: 'admin' }
68 unmodified lines