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

Commit daa47e3

Browse files
committed
Revert "chore(doc-gen, docs-app): create plnkr examples with correct Angular version"
This patch relies on a change in the dgeni example package, which has not been added to dgeni yet. This reverts commit db02008.
1 parent 1997360 commit daa47e3

File tree

3 files changed

+5
-56
lines changed

3 files changed

+5
-56
lines changed

docs/app/src/examples.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ angular.module('examples', [])
181181
filePromises.push($http.get(exampleFolder + '/' + filename, { transformResponse: [] })
182182
.then(function(response) {
183183

184-
// Plunkr needs an index file that's simply named index.html
185-
if (filename === 'index-plnkr.html') {
184+
// The manifests provide the production index file but Plunkr wants
185+
// a straight index.html
186+
if (filename === 'index-production.html') {
186187
filename = 'index.html';
187188
}
188189

docs/config/index.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module.exports = new Package('angularjs', [
2323
.factory(require('./services/deployments/default'))
2424
.factory(require('./services/deployments/jquery'))
2525
.factory(require('./services/deployments/production'))
26-
.factory(require('./services/deployments/plnkr'))
2726

2827
.factory(require('./inline-tag-defs/type'))
2928

@@ -151,8 +150,7 @@ module.exports = new Package('angularjs', [
151150
generateProtractorTestsProcessor,
152151
generateExamplesProcessor,
153152
debugDeployment, defaultDeployment,
154-
jqueryDeployment, productionDeployment,
155-
plnkrDeployment) {
153+
jqueryDeployment, productionDeployment) {
156154

157155
generateIndexPagesProcessor.deployments = [
158156
debugDeployment,
@@ -172,8 +170,7 @@ module.exports = new Package('angularjs', [
172170
debugDeployment,
173171
defaultDeployment,
174172
jqueryDeployment,
175-
productionDeployment,
176-
plnkrDeployment
173+
productionDeployment
177174
];
178175
})
179176

docs/config/services/deployments/plnkr.js

-49
This file was deleted.

0 commit comments

Comments
 (0)