Outlook/IE无法使用BigInt数据类型运行加载项 [英] Outlook/IE failing to run addins using BigInt data type

查看:324
本文介绍了Outlook/IE无法使用BigInt数据类型运行加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Outlook当前在执行Javascript时将IE11用作后端.由于IE不完全支持ES6/ES2015,因此IE无法使用"BigInt"执行代码.

Outlook currently uses IE11 as its backend when executing Javascript. Since IE does not fully support ES6/ES2015, IE fails to execute code using "BigInt".

我知道微软计划在明年停止对IE的支持.因此,更新IE以支持ES6的可能性可能几乎为零.

I know for a fact that Microsoft is planning to end support for IE next year. So the chances for IE to be updated to support ES6 is probably almost zero-percent.

鉴于此,我想就以下几点提出建议:

In this light, I would like to ask advice on any of the following points :

  1. 是否有一种方法可以强制Outlook使用Microsoft Edge作为其后端?
  2. 是否有办法让IE支持BigInt(或完全支持ES6)?
  3. 在报废之前,IE是否有可能支持ES6?

非常感谢您.

推荐答案

谢谢大家的帮助和解答.今天,我能够使BigInt与IE11和旧版本的Safari一起使用.

Thank you all for your help and answers. Today, I was able to make BigInt work with IE11 and old versions of Safari.

尽管我尚未使用IE测试整个BigInt库,但已经测试了有关如何使BigInt在IE上足以满足我的需求的解决方案.我将继续测试.而且,如果有人阅读此书找到了更好的解决方法,我希望您也可以分享.

Although, I have not tested the entire BigInt library with IE, I have tested my solution on how to make BigInt work on IE just enough for my needs. I will continue to test though. And if anybody reading this finds a better fix, i hope you can share too.

这是我为BigInt在IE11中为Outlook-Addin工作而做的事情:

Here is what I did to make BigInt work for my Outlook-Addin in IE11 :

  1. JSBI库安装/添加到我的项目中.
  2. JSBI数据视图中添加了一些数据视图polyfill.请查看我的评论.
  3. 还基于 elk-聊天
  1. Installed/added the JSBI Library into my project.
  2. Added some dataview polyfills, from JSBI-dataviews. Please see my comments.
  3. Also based some modifications on elk-chat

我希望这对所有人都有帮助.

I hope this helps everyone.

这篇关于Outlook/IE无法使用BigInt数据类型运行加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆