cleaning up

This commit is contained in:
Anton Georgiev 2015-03-10 21:03:16 +00:00
parent 5d1844f00b
commit f8b8451057

View File

@ -312,6 +312,7 @@ Handlebars.registerHelper "visibility", (section) ->
amplify.store('display_usersList', null) amplify.store('display_usersList', null)
amplify.store('display_whiteboard', null) amplify.store('display_whiteboard', null)
amplify.store('inChatWith', null) amplify.store('inChatWith', null)
amplify.store('logoutURL', null)
amplify.store('meetingId', null) amplify.store('meetingId', null)
amplify.store('messageFontSize', null) amplify.store('messageFontSize', null)
amplify.store('tabsRenderedTime', null) amplify.store('tabsRenderedTime', null)
@ -355,17 +356,6 @@ Handlebars.registerHelper "visibility", (section) ->
ratio = (currentSlide?.slide.width_ratio + currentSlide?.slide.height_ratio) / 2 ratio = (currentSlide?.slide.width_ratio + currentSlide?.slide.height_ratio) / 2
thickness * 100 / ratio thickness * 100 / ratio
# TODO TEMPORARY!!
# must not have this in production
@whoami = ->
console.log JSON.stringify
username: getInSession "userName"
userid: getInSession "userId"
authToken: getInSession "authToken"
@listSessionVars = ->
console.log SessionAmplify.keys
# Detects a mobile device # Detects a mobile device
@isMobile = -> @isMobile = ->
navigator.userAgent.match(/Android/i) or navigator.userAgent.match(/Android/i) or