add new websocket topic - userList - and handle it
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user