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

* 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

---------

Co-authored-by: stuckvgn <[email protected]>
This commit is contained in:
Sam Tucker-Davis
2026-03-01 08:55:02 -05:00
committed by GitHub
co-authored by stuckvgn
parent ae01da7e81
commit 0038a1208f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ app.use(function(req, res, next){
next();
});
// dummy database
// placeholder database
var users = {
tj: { name: 'tj' }
+1 -1
View File
@@ -35,7 +35,7 @@ app.use(express.static(path.join(__dirname, 'public')));
// ex: res.render('users.html').
app.set('view engine', 'html');
// Dummy users
// Placeholder users
var users = [
{ name: 'tobi', email: '[email protected]' },
{ name: 'loki', email: '[email protected]' },
+1 -1
View File
@@ -15,7 +15,7 @@ var app = express();
// curl http://localhost:3000/user/1/edit (unauthorized since this is not you)
// curl -X DELETE http://localhost:3000/user/0 (unauthorized since you are not an admin)
// Dummy users
// Placeholder users
var users = [
{ id: 0, name: 'tj', email: '[email protected]', role: 'member' }
, { id: 1, name: 'ciaran', email: '[email protected]', role: 'member' }