Reorganized content to use html templates with RequireJS Text plugin
Seperated FB and Parse API query into its own function.
Backbone "el" element now set by AppView. HTML Templates now used. Render function now uses $el and returns this.
Stubbed out section for Class properties.
Stubbed out section for Class properties.
HeaderView re-renders depending on login state. Render uses HTML templates and returns "this" for easier use with parent views. Listener also added for navigation to the home page.
Render function takes calls subview and returns "this" in order to work with parent view. Race condition in initialization eliminated with more careful callback usage.
Render function altered. $el now uses, and "this" is returned so the render function can more easily be called by the parent function.
Render function altered. $el now uses, and "this" is returned so the render function can more easily be called by the parent function. HTML templates now being used. Init functionality mostly has been moved to MainView.
HTML template now used. $el used properly now.
The gotoView function added to switch and clean up views in order to avoid memory leaks. AppView now sets the subview "el".
Library Initialization moved to lib.js. History is not started until the StateModel returns the loginStatus in order to avoid misfiring of the Router.
FB and Parse API initialization moved here.
StateModel now uses FB API to check the User's Login Status. Flag variable "init" added to notify app when it is safe to start.
Added dependencies to make sure app loads files in the correct order. Local libraries now used so my IDE knows more about functions that I'm calling.
Removed nav function. All redirection now handled by overridden route function. Callbacks within route function now preserve "this" keyword. AppView.gotoView function now used instead of passing options array.
Local version of external library.
Tasty Avocado Favicon
RequireJS library.
RequireJS text plugin library. Allows usage of HTML templates.