phetsims / pendulum-lab

"Pendulum Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 10 forks source link

Type documentation #29

Closed jonathanolson closed 9 years ago

jonathanolson commented 9 years ago

Instead of

// some comments (type: Vector2)

the PhET convention is to follow JSDoc with the type first, like:

// {Vector2} some comments

Example is for location in Movable.js

andrey-zelenkov commented 9 years ago

Fixed type documentation for comments. Reassign to @jonathanolson for verification.

jonathanolson commented 9 years ago

Looks good, thanks!