The simplest method of referencing the API is using our CDN by adding the following
<script> to your page's
/1/ in front of
If you plan on publishing your Office Add-in from the Office Store, you must use this CDN reference. Local references are only appropriate for internal, development and debugging scenarios.
<head>section of the page. This ensures the API is fully initialized prior to any body elements. Office hosts require that Add-Ins initialize within 5 seconds of activation. Crossing this threshold results in the Add-In being declared unresponsive and an error message displayed to the user.