Permalink
Browse files

Restructure Slickback component code to encompass my recent learnings…

… about Javascript style.

In particular:

1) Use IIFE (a sort of anonymous namespace technique) to hide my variables from global scope
2) Use a module to create private data members and functions and expose only a limited interface
   for connecting to the server
3) Use jQuery "deferred" objects to more cleanly structure code where we have to wait for asynchronous
   events before proceeding.
  • Loading branch information...
1 parent a97e258 commit ac3ebe862ed1b7376215ee554c8e215282b4bed6 @jefftrull committed Oct 8, 2012
Showing with 199 additions and 194 deletions.
  1. +199 −194 components/SlickbackComponent.component
Oops, something went wrong.

0 comments on commit ac3ebe8

Please sign in to comment.