From 3e108d05bbd041d9dfad0dfa7541bb2e50edac0f Mon Sep 17 00:00:00 2001 From: leeyeh Date: Mon, 7 May 2018 11:12:52 +0800 Subject: [PATCH] fix(demo): use AV.Promise for IE10 compatibility --- demo/simple-chatroom/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/simple-chatroom/test.js b/demo/simple-chatroom/test.js index 3b188425b..73c3f841f 100644 --- a/demo/simple-chatroom/test.js +++ b/demo/simple-chatroom/test.js @@ -251,7 +251,7 @@ Usernames = { // 显示接收到的信息 function showMsg(message, isBefore) { var text = message.text; - Promise.resolve() + AV.Promise.resolve() .then(function() { if (message.from === clientId) { return '自己';