Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[All hosts] Revert previous change to CDN URL #956

Merged
merged 1 commit into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion config/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async function processSnippets(processedSnippets: Dictionary<SnippetProcessedDat

function validateOfficialOfficeJs(snippet: ISnippet, host: string, group: string, messages: any[]): void {
const isOfficeSnippet = officeHosts.indexOf(host.toUpperCase()) >= 0;
const canonicalOfficeJsReference = 'https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js';
const canonicalOfficeJsReference = 'https://appsforoffice.microsoft.com/lib/1/hosted/office.js';
const betaOfficeJsReference = 'https://appsforoffice.microsoft.com/lib/beta/hosted/office.js';
const officeDTS = '@types/office-js';
const betaOfficeDTS = '@types/office-js-preview';
Expand Down
2 changes: 1 addition & 1 deletion private-samples/excel/20-chart/chart-title-ts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ style:
language: css
libraries: |
// Office.js
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js

// CSS Libraries
[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/01-basics/basic-api-call-es5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/01-basics/basic-api-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/01-basics/basic-common-api-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-axis-formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ style:
}
language: css
libraries: |-
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-axis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-bubble-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-create-several-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-data-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-data-table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js
[email protected]/dist/css/fabric.min.css
[email protected]/dist/css/fabric.components.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ style:
}
language: css
libraries: |-
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-legend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-point.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-series-markers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ style:
}
language: css
libraries: |-
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-series-plotorder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-series.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-title-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/chart-trendlines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/10-chart/create-doughnut-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/12-comment/comment-basics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/12-comment/comment-mentions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/12-comment/comment-replies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/12-comment/comment-resolution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/16-custom-functions/basic-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ script:
}
language: typescript
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js
[email protected]/client/core.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ script:
}
language: typescript
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js
[email protected]/client/core.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ script:
];
language: typescript
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/client/core.min.js
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/16-custom-functions/streaming-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ script:
}
language: typescript
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js
[email protected]/client/core.min.js
2 changes: 1 addition & 1 deletion samples/excel/16-custom-functions/volatile-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ script:
}
language: typescript
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js
[email protected]/client/core.min.js
2 changes: 1 addition & 1 deletion samples/excel/16-custom-functions/web-call-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ script:
}
language: typescript
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js
[email protected]/client/core.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/20-data-types/data-types-entity-icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ style:
}
language: css
libraries: |-
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/20-data-types/data-types-entity-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/20-data-types/data-types-error-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/20-data-types/data-types-references.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/20-data-types/data-types-web-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/22-data-validation/data-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/26-document/custom-properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ style:
}
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
2 changes: 1 addition & 1 deletion samples/excel/26-document/get-file-in-slices-async.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ style:
}
language: css
libraries: |-
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js

[email protected]/dist/css/fabric.min.css
Expand Down
Loading