Releases: OfficeDev/office-js
Releases · OfficeDev/office-js
v1.1.10
From version "__for_merging--release--16.0.10917.35450--2018-09-20--3.59pm"
- Full version details & commit history: https://github.com/OfficeDev/office-js/blob/v1.1.10/
- Build log: https://travis-ci.org/OfficeDev/office-js/builds/431269351
Unpkg CDN URLs
This specific build number:
- https://unpkg.com/@microsoft/office-js@1.1.10/dist/office.js
- https://unpkg.com/@microsoft/office-js@1.1.10/dist/office.d.ts
Builds using this same tag ("release"):
https://unpkg.com/@microsoft/office-js@release/dist/office.js
https://unpkg.com/@microsoft/office-js@release/dist/office.d.ts
IntelliSense
Script Lab:
- Copy-paste both of the above URLs (office.js and office.d.ts) into the Libraries tab. That's it.
TypeScript-based project:
npm install @microsoft/office-js@1.1.10
(for this specific build number)- At the top of the TS file, add:
/// <reference path="./node_modules/@microsoft/office-js/dist/office.d.ts" />
VS JavaScript-based project
- VS 2017: Download the d.ts file from above link and stick it inside your project.
- VS 2015 or earlier: Under
Scripts\_references.js
, replace the URL inside/// <reference path="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" />
with the .js (not d.ts) URL above.