Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(docs): use correct script-URL for plnkr on snapshot #15438

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/config/services/deployments/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ var cdnUrl = googleCdnUrl + versionInfo.cdnVersion;
// The currentVersion may not be available on the cdn (e.g. if built locally, or hasn't been pushed
// yet). This will lead to a 404, but this is preferable to loading a version with which the example
// might not work (possibly in subtle ways).
var examplesCdnUrl = versionInfo.isSnapshot ?
var examplesCdnUrl = versionInfo.currentVersion.isSnapshot ?
(angularCodeUrl + 'snapshot') :
(googleCdnUrl + (versionInfo.version || versionInfo.currentVersion));
(googleCdnUrl + (versionInfo.currentVersion.version || versionInfo.currentVersion));

module.exports = function productionDeployment(getVersion) {
return {
Expand Down