From cc5a4f79fb828ab2f39e6b42d1d088da393e3dfc Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 26 Nov 2012 06:05:39 +0100 Subject: [PATCH] Added some comments. --- app/assets/javascripts/app/lib/app_post/auth.js.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/javascripts/app/lib/app_post/auth.js.coffee b/app/assets/javascripts/app/lib/app_post/auth.js.coffee index c7f11e448..292910d2d 100644 --- a/app/assets/javascripts/app/lib/app_post/auth.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/auth.js.coffee @@ -14,6 +14,7 @@ class App.Auth # clear store App.Store.clear('all') + # set login (config, session, ...) @_login(data) # execute callback @@ -32,6 +33,8 @@ class App.Auth type: 'GET' url: '/signshow' success: (data, status, xhr) => + + # set login (config, session, ...) @_login(data) error: (xhr, statusText, error) => @@ -45,6 +48,8 @@ class App.Auth type: 'DELETE' url: '/signout' success: => + + # set logout (config, session, ...) @_logout() error: (xhr, statusText, error) =>