fix bug: polyfill old version of IE

This commit is contained in:
echo 2018-01-20 13:15:54 +08:00
parent d18f284f25
commit 47b5afd801

View File

@ -146,7 +146,8 @@ editor.prototype.init = function(){
});
Promise.all([p1, p2, p3])
.then(function([maps, icons, img]){
.then(function(results){
var maps = results[0], icons = results[1];
editor.idsInit(maps, icons); // 初始化图片素材信息
editor.drawInitData(icons); // 初始化绘图
editor.listen(); // 开始监听事件