mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
Changed reference to constructors
to classes
This commit is contained in:
parent
da2ecbbcad
commit
f1faf3965d
@ -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. Here’s a good summary - https://github.com/ryanmcdermott/clean-code-javascript.
|
1. Write clean code. Here’s 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user