You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #55, I have compatibility issues between the generated JavaScript code and Outlook on Windows as a target. As OfficeJS Add-Ins are particularly hard to debug, the reason for this is still unknown. The problem is event handler code in Microsoft Office Add-in code not being executed properly.
Due to parallels to this thread, there is a chance that the problems come from JS standard version incompatibilities.
Microsoft claims that Outlook Add-ins support the ES2016 (ES7 for short) standard. The default compilation target of the KotlinJS compiler is ES5 (source). Thus, usually, the generated code should be supported due to downwards compatibility.
Nonetheless, I managed to resolve the issue by reverting #55.
Update: events are also triggered in Debug mode which is another parallel to this thread.
To Reproduce
I have not yet been able to check if there are problems with environments other that Outlook on Windows clients. As such, this is really laborious to reproduce as it requires developing an OfficeJS Add-In. After the event based OfficeJS Add-in is developed, event handlers will only be invoked with #55 reverted.
Expected Behavior
I expect the generated JS code to work exactly the same with and without #55.
System Information
Component: watermarker
Runtime: OfficeJS
Additional Context
The text was updated successfully, but these errors were encountered:
🐞 Bug Report
Describe the Bug
Since #55, I have compatibility issues between the generated JavaScript code and Outlook on Windows as a target. As OfficeJS Add-Ins are particularly hard to debug, the reason for this is still unknown. The problem is event handler code in Microsoft Office Add-in code not being executed properly.
Due to parallels to this thread, there is a chance that the problems come from JS standard version incompatibilities.
Microsoft claims that Outlook Add-ins support the ES2016 (ES7 for short) standard. The default compilation target of the KotlinJS compiler is ES5 (source). Thus, usually, the generated code should be supported due to downwards compatibility.
Nonetheless, I managed to resolve the issue by reverting #55.
Update: events are also triggered in Debug mode which is another parallel to this thread.
To Reproduce
I have not yet been able to check if there are problems with environments other that Outlook on Windows clients. As such, this is really laborious to reproduce as it requires developing an OfficeJS Add-In. After the event based OfficeJS Add-in is developed, event handlers will only be invoked with #55 reverted.
Expected Behavior
I expect the generated JS code to work exactly the same with and without #55.
System Information
Additional Context
The text was updated successfully, but these errors were encountered: