class window.Vkontakte api_id: null session_length: 3600 # seconds constructor: (@api_id) -> getApiId: -> @api_id init: -> log "Initializing Vkontakte API ..." window.vkAsyncInit = -> VK.init apiId: _vkontakte.getApiId() _vkontakte.auth() setTimeout -> $('#vk_api_transport').append($('