In Office Apps for Excel 2013 - Cannot redefine non-configurable property 'context'"

一笑奈何 提交于 2019-12-14 04:21:39

问题


I have made an app in Office Apps for Excel 2013. It works fine, but at start up it gives a javascript exception.

"Cannot redefine non-configurable property 'context'".

After clicking 'continue' on that exception everything works just fine. This application uses its inbuilt App.js and Office.js. Is there any solution for this? Or is there something i can remove in my code so that it always hits at start up.


回答1:


I had similar issue and was able to solve it by removing second Office.js script. This issue will occur if you load Office.js script more than once. See: In Office Apps - Cannot redefine non-configurable property 'context'"



来源:https://stackoverflow.com/questions/33228753/in-office-apps-for-excel-2013-cannot-redefine-non-configurable-property-conte

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!