You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a rule, if the code was short I added it directly into the window. If longer/more complex (includes classes), the annotation refers to the direct github link. If you prefer a different method, let me know.
The text was updated successfully, but these errors were encountered:
This makes sense, although I think rather than linking to github web site we should use the API solution that Scott created that displays the code nicely in the video page, i.e. instead of:
<a href="https://github.com/shiffman/The-Nature-of-Code-Examples/tree/master/chp3_oscillation/NOC_3_02_forces_angular_motion">See the code</a> .
It would be:
<a href="https://api.github.com/repos/shiffman/The-Nature-of-Code-Examples/contents/chp3_oscillation/NOC_3_02_forces_angular_motion" data-displaycode="true">See the code</a> .
This pertains to video 3.1 only, so far.
As a rule, if the code was short I added it directly into the window. If longer/more complex (includes classes), the annotation refers to the direct github link. If you prefer a different method, let me know.
The text was updated successfully, but these errors were encountered: