Skip to content

Replace concatenated strings with template strings - #1

Open
Shadow53 wants to merge 5 commits into
csc3221-master:masterfrom
Shadow53:master
Open

Replace concatenated strings with template strings#1
Shadow53 wants to merge 5 commits into
csc3221-master:masterfrom
Shadow53:master

Conversation

@Shadow53

@Shadow53 Shadow53 commented May 2, 2019

Copy link
Copy Markdown

JavaScript has template strings, which allow embedded newlines and variable interpolation; this means that much less string trickery needs to happen to build the HTML. I've also used this to minimize the number
of calls to response.write().

Shadow53 added 5 commits May 1, 2019 21:35
JavaScript has template strings, which allow embedded newlines and
variable interpolation; this means that much less string trickery needs
to happen to build the HTML. I've also used this to minimize the number
of calls to `response.write()`.
I've been assigned 3005 as a port, so set that as default. Default
hostname to "localhost" for development reasons. Add `./config.json` to
gitignore.
New JSON file has a different structure. Technically the original code
this assignment was based on could handle the JSON fine, but these
changes add the keys as titles and makes each array a separate table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant