From 495f93206919264498fd92819bf5dd7eb53ef787 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley Date: Mon, 7 May 2018 15:54:24 +0100 Subject: [PATCH] Authentication service class description --- .../darkswarm/services/authentication_service.js.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee b/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee index a51ccdedee..4b53ee2230 100644 --- a/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee +++ b/app/assets/javascripts/darkswarm/services/authentication_service.js.coffee @@ -1,3 +1,8 @@ +# This class deals with displaying things in the login modal. It chooses +# the modal tab templates and deals with switching tabs and passing data +# between the tabs. It has direct access to the instance of the login modal, +# and provides that access to other controllers as a service. + Darkswarm.factory "AuthenticationService", (Navigation, $modal, $location, Redirections, Loading)-> new class AuthenticationService