Closed aaronsamuel137 closed 9 years ago
@aaronsamuel137 wrote:
Also, it might be nice to make a var rulerHeight = 34,
We might consider moving all of the constructor params to options. All of these parameters could have default values, and options are more "self documenting".
Remove outdated comment, move rulerHeight to constants block. Reassign to @aaronsamuel137 for verification.
Looks good. Closing
During code review #56, I noticed this code in PendulumLabRulerNode:
It's not clear to me what "// -1px to" means. Is this an unfinished comment? Can you either remove it or clarify what it means?
Also, it might be nice to make a var rulerHeight = 34, so it's more clear what that constant is doing there in the call to RulerNode.