Skip to content
Permalink
Browse files

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 yet.

This reverts commit 0a2b723.
  • Loading branch information
Narretz committed Oct 17, 2016
1 parent 9d4b7b6 commit 660ee5b97270f5b27756469beff4ff5c83a852fd
Showing with 5 additions and 56 deletions.
  1. +3 −2 docs/app/src/examples.js
  2. +2 −5 docs/config/index.js
  3. +0 −49 docs/config/services/deployments/plnkr.js
@@ -181,8 +181,9 @@ angular.module('examples', [])
filePromises.push($http.get(exampleFolder + '/' + filename, { transformResponse: [] })
.then(function(response) {

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

@@ -23,7 +23,6 @@ module.exports = new Package('angularjs', [
.factory(require('./services/deployments/default'))
.factory(require('./services/deployments/jquery'))
.factory(require('./services/deployments/production'))
.factory(require('./services/deployments/plnkr'))

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

@@ -151,8 +150,7 @@ module.exports = new Package('angularjs', [
generateProtractorTestsProcessor,
generateExamplesProcessor,
debugDeployment, defaultDeployment,
jqueryDeployment, productionDeployment,
plnkrDeployment) {
jqueryDeployment, productionDeployment) {

generateIndexPagesProcessor.deployments = [
debugDeployment,
@@ -172,8 +170,7 @@ module.exports = new Package('angularjs', [
debugDeployment,
defaultDeployment,
jqueryDeployment,
productionDeployment,
plnkrDeployment
productionDeployment
];
})

This file was deleted.

0 comments on commit 660ee5b

Please sign in to comment.
You can’t perform that action at this time.