issues Search Results · repo:a-la-node/hapi-project language:JavaScript
Filter by
0 results
(72 ms)0 results
ina-la-node/hapi-project (press backspace or delete to remove)Some variables declared using let make more sense as const. For instance, here:
if (!error response.statusCode === 200) {
let name = JSON.parse(body).results[0].name;
let firstName = capitalise(name.first); ...
msmichellegar
- Opened on Nov 23, 2016
- #73
div class= content overlay
p You are a... /p
ul class= content--options
{{#each people}}
{{{link this}}}
{{/each}}
/ul
/div
If content--options is dependent on content, ...
njsfield
- Opened on Nov 23, 2016
- #66
return cb(null, randomCity.split( - ).map(word = capitalise(word)).join( ));
Perhaps join with a comma and a space, instead of just a space for formatting purposes. So instead of this; image You d ...
njsfield
- Opened on Nov 23, 2016
- #65
a description under the alt property on an image is needed for screen readers co.
https://github.com/a-la-node/hapi-project/blob/master/public/index.html#L2
Jbarget
- 1
- Opened on Nov 23, 2016
- #63
You ve defined some view files (index.html, results-page.html). It may be worth storing them in a directory called views
, so in the server.views configuration you can set the path to public/views , just ...
njsfield
- Opened on Nov 23, 2016
- #62
https://github.com/a-la-node/hapi-project/blob/master/src/server.js#L69-L72
so that when you re testing your back-end code by requiring in server.js your server wont be started and you wont need
to do ...
Jbarget
- 3
- Opened on Nov 23, 2016
- #61
njsfield
- 2
- Opened on Nov 23, 2016
- #60
instead of just cheking that you don t get an error and the length is not zero, you can use mock responses and check
actual values.
denesnori
- Opened on Nov 23, 2016
- #58

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.