问题
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