Skip to content

Commit

Permalink
fix(demo): use AV.Promise for IE10 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
leeyeh committed May 7, 2018
1 parent 3440838 commit 3e108d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/simple-chatroom/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 '自己';
Expand Down

0 comments on commit 3e108d0

Please sign in to comment.