Skip to main content
8 events
when toggle format what by license comment
Jan 18, 2016 at 9:44 comment added Sumurai8 I have inserted a spoiler quote with additional information as to not disrupt the general flow of the answer too much.
Jan 18, 2016 at 9:42 history edited Sumurai8 CC BY-SA 3.0
About namespaces, classes and IIFE's.
Jan 17, 2016 at 20:49 comment added Munkey Just re-reading all your comments. Would you mind if I asked you to expand upon this line you wrote "You are dropping all your functions in the global namespace. Create your own namespace, or class, and put your own functions there. Alternativelly, wrap everything at least in an IIFE." or give a brief example? I'd really appreciate it
Jan 17, 2016 at 20:47 vote accept Munkey
Jan 17, 2016 at 17:35 comment added Munkey @samurai8 Thank you for all the feedback. I take on board the layout comments. I didn't pay any attention to that while writing it. If I post any code here in the future, I will make sure to fully annotate it. I will try to re-write the code including your suggestions and repost. Thanks again for taking the time to read and reply
Jan 17, 2016 at 17:25 history edited Sumurai8 CC BY-SA 3.0
added 49 characters in body
Jan 17, 2016 at 17:18 history edited Sumurai8 CC BY-SA 3.0
+ cleaned up code
Jan 17, 2016 at 17:12 history answered Sumurai8 CC BY-SA 3.0