4 ms·
There's a button to toggle whether these lines are shown or hidden. Implementing this button's behavior using JavaScript seems perfectly reasonable to me.
by maxbrunsfeld 8y ago
There's a button to toggle whether these lines are shown or hidden. Implementing this button's behavior using JavaScript seems perfectly reasonable to me.
- steveklabnik 8y agoYes, you want to be able to show people that it needs additional context to work, and what that context is.
- epage 8y agoI appreciate this. There are too many times that example code omits things and as someone new you get confused as to what the boiler plate is you should use.