The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

hettlage (136) [Avatar] Offline
There are some minor issues with listing 30.4:

  • The file name chatController.js in the title ("Adding a chat action in chatController.js") is incorrect.

  • The displayMessage function expects an object { content: ... } as argument, but actually a string is passed.

  • The displayMessage function adds a li element to a div (not ul or ol) element, which presumably results in invalid html.
  • TheWexler (62) [Avatar] Offline
    Thank you for these comments. I've fixed the listing headings, changed the passed argument in the function, and removed the addition of a list item. Your discoveries are really appreciated!