1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 15:45:58 +09:00
This commit is contained in:
syuilo 2017-02-18 13:13:43 +09:00
parent 6836662bff
commit d168ac6106
3 changed files with 6 additions and 5 deletions

View File

@ -12,7 +12,7 @@ module.exports = (me) ~>
Cropper: require \cropperjs
riot.mixin \signout do
signout: require './scripts/signout.ls'
signout: require './scripts/signout.js'
riot.mixin \messaging-stream do
MessagingStreamConnection: require './scripts/messaging-stream.ls'

View File

@ -0,0 +1,5 @@
module.exports = () => {
localStorage.removeItem('me');
document.cookie = `i=; domain=.${CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
location.href = '/';
};

View File

@ -1,4 +0,0 @@
module.exports = ->
local-storage.remove-item \me
document.cookie = "i=; domain=.#{CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;"
location.href = \/