Skip to content

Fix typos in playground blog data and comparison bug in cookie-server#3

Open
Avicennasis wants to merge 1 commit into
cts:masterfrom
Avicennasis:docs/fix-typos
Open

Fix typos in playground blog data and comparison bug in cookie-server#3
Avicennasis wants to merge 1 commit into
cts:masterfrom
Avicennasis:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

  • Fix misspelling "Tuesay" to "Tuesday" in date fields across cts-ui/playground/blogs/blog1/data.js (3 occurrences) and cts-ui/playground/blogs/blog3/data.js (3 occurrences)
  • Fix misspelling "sixy" to "sixty" in cts-ui/playground/blogs/blog1/data.js
  • Fix bug in cookie-server.js where assignment operator (=) was used instead of strict equality (===) in an else if condition (msg.cmd = "get" should be msg.cmd === "get")

Test plan

  • Verify playground blog demos render correct dates ("Tuesday" instead of "Tuesay")
  • Verify cookie-server correctly handles "get" commands without overwriting msg.cmd

- Fix "Tuesay" → "Tuesday" in blog1/data.js (3 occurrences)
  and blog3/data.js (3 occurrences)
- Fix "sixy" → "sixty" in blog1/data.js
- Fix assignment (=) used instead of comparison (===) in
  cookie-server.js else-if condition
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