Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

嵌套调用jockey.on,出现函数被覆盖 #39

Open
sunshineningjing opened this issue Feb 21, 2017 · 0 comments
Open

嵌套调用jockey.on,出现函数被覆盖 #39

sunshineningjing opened this issue Feb 21, 2017 · 0 comments

Comments

@sunshineningjing
Copy link

sunshineningjing commented Feb 21, 2017

var dataInit = function () {
GeoBOS.contacts.getContactsList(function( error, contactsList ){
if (error === null) {
//for (var i = 0; i < 10000; i++) {
$('#autoTestResultContactsList').text(contactsList.length);
//}
} else {
$('#autoTestResultContactsList').text('getContactsList failed: ' + JSON.stringify(error));
}
});

GeoBOS.im.getRecentChats(function(error, chatList){
        if(error === null){




            //for (var j = 0; j < 10000; j++) {
                $('#autoTestResultRecentChats').text(JSON.stringify(chatList));
            //}
        }else{
            $('#autoTestResultRecentChats').text("getRecentChats failed with " + selectedUserId + ":" + JSON.stringify(error));
        }

});

};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant