Fix examples or JavaScript docs in the Writing Codebase Docs guide.

Review Request #8272 — Created July 7, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
c0d92a3...

Reviewers

Our JavaScript codebase docs guide says to use type primitive names like
"string", "number", etc., but then the examples end up using the objects
instead. This fixes up the examples to be consistent with the
guidelines.

Built the docs and checked the examples.