shoxty/contra — comment on commit 296e1c2f056c13811cf2f5ab7a8c12abbf1ff94e
File:  line 0
By shoxty:

Maybe I should clarify, you had some scoping with the immediate function you used but I just removed all the functions that were attached to the global Contra obj and instead only return addHandler. I figured all the other functions do not need to be exposed within the global Contra obj and can live just being private functions. This prevents users from just typing Contra.win() in the console.