Private
Public Access
1
0

add new websocket topic - userList - and handle it

This commit is contained in:
2017-01-22 15:21:45 +01:00
parent a91172ef7a
commit a3465f6cf9
18 changed files with 680 additions and 83 deletions

View File

@@ -1,14 +1,22 @@
<script type="text/javascript">
window.fbAsyncInit = function () {
FB.init({
appId: '{{ facebook_api }}',
xfbml: true,
cookie: true,
status: true,
oauth: true,
version: '{{ facebook_api_version }}'
});
};
$(function () {
window.fbAsyncInit = function () {
FB.init({
appId: '{{ facebook_api }}',
xfbml: true,
cookie: true,
status: true,
version: '{{ facebook_api_version }}',
});
/** trigger jQuery when Facebook SKD loads */
$(document).trigger('fb-load');
// $(document).bind('fb-load', function () {
// TODO
// });
};
});
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];