Changed reference to constructors to classes

This commit is contained in:
Andrew Henry 2020-05-16 16:07:49 -07:00 committed by GitHub
parent da2ecbbcad
commit f1faf3965d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ this repository. This is verified by the command line build.
JavaScript sources in Open MCT should: JavaScript sources in Open MCT should:
1. Write clean code. Heres a good summary - https://github.com/ryanmcdermott/clean-code-javascript. 1. Write clean code. Heres a good summary - https://github.com/ryanmcdermott/clean-code-javascript.
1. Include JSDoc for any exposed API (e.g. public methods, constructors). 1. Include JSDoc for any exposed API (e.g. public methods, classes).
1. Include non-JSDoc comments as-needed for explaining private variables, 1. Include non-JSDoc comments as-needed for explaining private variables,
methods, or algorithms when they are non-obvious. Otherwise code methods, or algorithms when they are non-obvious. Otherwise code
should be self-documenting. should be self-documenting.